Skip to content
Commit 8f079ccc authored by tnishinaga.dev@gmail.com's avatar tnishinaga.dev@gmail.com Committed by Tom Rini
Browse files

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: default avatarToshifumi NISHINAGA <tnishinaga.dev@gmail.com>
parent 00bbe96e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment