]> git.baikalelectronics.ru Git - uboot.git/commit
armv7m: Disable D-cache when booting nommu(ARMv7M) Linux kernel
authortnishinaga.dev@gmail.com <tnishinaga.dev@gmail.com>
Sun, 4 Jun 2017 16:18:08 +0000 (01:18 +0900)
committerTom Rini <trini@konsulko.com>
Sat, 10 Jun 2017 00:34:54 +0000 (20:34 -0400)
commit317f0da71fb701078970b3ae82ca960dbcdd24f4
tree56a52663270313cb0fdd5b3e1bd2e304d628c892
parenta0b4ae9467d59c333b2c39b5acac300b9383d193
armv7m: Disable D-cache when booting nommu(ARMv7M) Linux kernel

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@gmail.com>
arch/arm/lib/bootm.c