]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
ARM: uniphier: disable cache in SPL of PH1-LD20
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 24 May 2016 12:13:57 +0000 (21:13 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 25 May 2016 15:35:26 +0000 (00:35 +0900)
The Boot ROM has enabled D-cache and MMU setting DDR memory area
as Normal Memory in its page table.  Disable D-cache and MMU
before jumping to U-Boot proper.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/init/init-ld20.c

index 660ad457dc4dc812afdef9101911419f58d55be2..7f66053e1f7616dd527cd280e6266fca7ede1710 100644 (file)
@@ -51,5 +51,7 @@ int uniphier_ld20_init(const struct uniphier_board_data *bd)
 
        led_puts("L5");
 
+       dcache_disable();
+
        return 0;
 }