From: Tom Rini Date: Sat, 10 Jun 2017 09:46:50 -0400 Subject: [U-Boot] armv7m: Disable D-cache when booting nommu(ARMv7M) Linux kernel In-Reply-To: <20170604161808.26222-1-tnishinaga.dev@gmail.com> References: <20170604161808.26222-1-tnishinaga.dev@gmail.com> Message-ID: <20170610134650.GA10782@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Jun 05, 2017 at 01:18:08AM +0900, tnishinaga.dev at gmail.com wrote: > Disable D-Cache is required when booting nommu Linux kernel. > (please see Linux kernel source "arch/arm/kernel/head-nommu.S") > > U-Boot is enabled D-cache and I-Cache at startup. > However, it does not disable D-Cache before > booting nommu Linux kernel. > Therefore, I call dcache_disable() > when the CPU is ARMv7M to fix this problem. > > Signed-off-by: Toshifumi NISHINAGA Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: