]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: uniphier: revive accidentally removed dcache_disable()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 20 Feb 2017 05:23:37 +0000 (14:23 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 22 Feb 2017 23:37:56 +0000 (08:37 +0900)
Commit a8e6300d483d ("ARM: uniphier: refactor spl_init_board()")
accidentally dropped dcache_disable() call.  Since then, the SPL of
LD11 and LD20 failed to load U-Boot proper.

Fixes: a8e6300d483d ("ARM: uniphier: refactor spl_init_board()")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/spl_board_init.c

index da749a3d6d4e43cc66f70353545b74cb23180fe3..0079a083e838f0ebded6be1016eea193b335b036 100644 (file)
@@ -168,4 +168,8 @@ void spl_board_init(void)
                pr_err("failed to init DRAM\n");
                hang();
        }
+
+#ifdef CONFIG_ARM64
+       dcache_disable();
+#endif
 }