[U-Boot] armv7m: Disable D-cache when booting nommu(ARMv7M) Linux kernel

Tom Rini trini at konsulko.com
Sat Jun 10 13:46:50 UTC 2017


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 <tnishinaga.dev at gmail.com>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20170610/f3e952bf/attachment.sig>


More information about the U-Boot mailing list