diff mbox

ARM: uniphier: revive accidentally removed dcache_disable()

Message ID 1487568217-19936-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 14bb7a4e3707a382efc96052e9c8f6995f6ea2b3
Headers show

Commit Message

Masahiro Yamada Feb. 20, 2017, 5:23 a.m. UTC
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 | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.7.4

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Comments

Masahiro Yamada Feb. 22, 2017, 11:34 p.m. UTC | #1
2017-02-20 14:23 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> 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>



Applied to u-boot-uniphier.

-- 
Best Regards
Masahiro Yamada
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
diff mbox

Patch

diff --git a/arch/arm/mach-uniphier/spl_board_init.c b/arch/arm/mach-uniphier/spl_board_init.c
index da749a3..0079a08 100644
--- a/arch/arm/mach-uniphier/spl_board_init.c
+++ b/arch/arm/mach-uniphier/spl_board_init.c
@@ -168,4 +168,8 @@  void spl_board_init(void)
 		pr_err("failed to init DRAM\n");
 		hang();
 	}
+
+#ifdef CONFIG_ARM64
+	dcache_disable();
+#endif
 }