Revert "armv7m: Disable D-cache when booting nommu(ARMv7M) Linux kernel"
authorTom Rini <trini@konsulko.com>
Fri, 30 Jun 2017 01:18:48 +0000 (21:18 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 30 Jun 2017 01:18:48 +0000 (21:18 -0400)
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>
arch/arm/lib/bootm.c

index b3e5d24..704849b 100644 (file)
@@ -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) {