diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-02-20 14:23:37 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-02-23 08:37:56 +0900 |
commit | 14bb7a4e3707a382efc96052e9c8f6995f6ea2b3 (patch) | |
tree | d6a2ef142b60960a7d006ad17e424aec6979daaa /arch/arm | |
parent | b24cf8540a85a9bf97975aadd6a7542f166c78a3 (diff) | |
download | u-boot-imx-14bb7a4e3707a382efc96052e9c8f6995f6ea2b3.zip u-boot-imx-14bb7a4e3707a382efc96052e9c8f6995f6ea2b3.tar.gz u-boot-imx-14bb7a4e3707a382efc96052e9c8f6995f6ea2b3.tar.bz2 |
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 <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-uniphier/spl_board_init.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 } |