ARM: uniphier: disable cache in SPL of PH1-LD20
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 <yamada.masahiro@socionext.com>
This commit is contained in:
parent
fc15b9beed
commit
0bd20207ab
|
|
@ -51,5 +51,7 @@ int uniphier_ld20_init(const struct uniphier_board_data *bd)
|
||||||
|
|
||||||
led_puts("L5");
|
led_puts("L5");
|
||||||
|
|
||||||
|
dcache_disable();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue