projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc15b9b
)
ARM: uniphier: disable cache in SPL of PH1-LD20
author
Masahiro Yamada
<
[email protected]
>
Tue, 24 May 2016 12:13:57 +0000
(21:13 +0900)
committer
Masahiro Yamada
<
[email protected]
>
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 <
[email protected]
>
arch/arm/mach-uniphier/init/init-ld20.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-uniphier/init/init-ld20.c
b/arch/arm/mach-uniphier/init/init-ld20.c
index 660ad457dc4dc812afdef9101911419f58d55be2..7f66053e1f7616dd527cd280e6266fca7ede1710 100644
(file)
--- a/
arch/arm/mach-uniphier/init/init-ld20.c
+++ b/
arch/arm/mach-uniphier/init/init-ld20.c
@@
-51,5
+51,7
@@
int uniphier_ld20_init(const struct uniphier_board_data *bd)
led_puts("L5");
+ dcache_disable();
+
return 0;
}