From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhiqiang Hou Date: Thu, 21 Jan 2016 01:10:58 +0000 Subject: [U-Boot] [PATCH 1/3] ARMv8/layerscape: Add mmu_init API In-Reply-To: References: <1453207192-45912-1-git-send-email-Zhiqiang.Hou@freescale.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi York, > -----Original Message----- > From: york sun > Sent: 2016?1?20? 23:55 > To: Zhiqiang Hou ; Prabhakar Kushwaha > ; Zhiqiang Hou ; > u-boot at lists.denx.de; albert.u.boot at aribaud.net; Mingkai.hu at freescale.com; > yorksun at freescale.com > Cc: leoli at freescale.com; prabhakar at freescale.com; > bhupesh.sharma at freescale.com; sjg at chromium.org; bmeng.cn at gmail.com; > hs at denx.de; joe.hershberger at ni.com; marex at denx.de; Hou Zhiqiang > > Subject: Re: [PATCH 1/3] ARMv8/layerscape: Add mmu_init API > > On 01/20/2016 04:06 AM, Zhiqiang Hou wrote: > > > > > I am not know cache and mmu so much, and have some question: > > For ARM: > > Why there isn't a isolate API for mmu_setup, but invoke it from dcache_enable()? > > If data cache won't be used, the MMU also cannot be used? > > No. If MMU is not enabled, cacheability cannot be set. Thanks for your clarification! - Zhiqiang