From: Tom Rini <trini@konsulko.com>
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: v2025.01-rc5-pxa1908~6482
X-Git-Url: http://git.dujemihanovic.xyz/img/static/%7B%7B?a=commitdiff_plain;h=3278e2913012693c85eca90066da09c9eaeefbec;p=u-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 <trini@konsulko.com>
---

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) {