From: Tom Rini Date: Fri, 30 Jun 2017 01:18:48 +0000 (-0400) Subject: Revert "armv7m: Disable D-cache when booting nommu(ARMv7M) Linux kernel" X-Git-Tag: v2017.07-rc3~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3278e2913012693c85eca90066da09c9eaeefbec;p=oweals%2Fu-boot.git Revert "armv7m: Disable D-cache when booting nommu(ARMv7M) Linux kernel" The author of the commit discovered later on that this was already being done in cleanup_before_linux() on arch/arm/cpu/armv7m/cpu.c. This reverts commit 8f079cccb369995e46a2ab530d5d60b88c1e70bb. Signed-off-by: Tom Rini --- diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index b3e5d24a32..704849bd0c 100644 --- a/arch/arm/lib/bootm.c +++ b/arch/arm/lib/bootm.c @@ -360,7 +360,6 @@ static void boot_jump_linux(bootm_headers_t *images, int flag) #ifdef CONFIG_CPU_V7M ulong addr = (ulong)kernel_entry | 1; kernel_entry = (void *)addr; - dcache_disable(); #endif s = getenv("machid"); if (s) {