mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-05 11:00:43 +09:00
ARM: spl: atmel: move mem_init() advance in SPL init.
Because the MMC SPL puts the bbs section in the ddr memory, move calling mem_init() before calling spl_init(). Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
This commit is contained in:
parent
730a7b4710
commit
5bede73c6c
@ -101,6 +101,8 @@ void board_init_f(ulong dummy)
|
|||||||
|
|
||||||
board_early_init_f();
|
board_early_init_f();
|
||||||
|
|
||||||
|
mem_init();
|
||||||
|
|
||||||
ret = spl_init();
|
ret = spl_init();
|
||||||
if (ret) {
|
if (ret) {
|
||||||
debug("spl_init() failed: %d\n", ret);
|
debug("spl_init() failed: %d\n", ret);
|
||||||
@ -109,5 +111,4 @@ void board_init_f(ulong dummy)
|
|||||||
|
|
||||||
preloader_console_init();
|
preloader_console_init();
|
||||||
|
|
||||||
mem_init();
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user