From 14bb7a4e3707a382efc96052e9c8f6995f6ea2b3 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Mon, 20 Feb 2017 14:23:37 +0900 Subject: [PATCH] ARM: uniphier: revive accidentally removed dcache_disable() 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 --- arch/arm/mach-uniphier/spl_board_init.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-uniphier/spl_board_init.c b/arch/arm/mach-uniphier/spl_board_init.c index da749a3d6d..0079a083e8 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 } -- 2.39.5