projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
730a7b4
)
ARM: spl: atmel: move mem_init() advance in SPL init.
author
Wenyou Yang
<wenyou.yang@atmel.com>
Fri, 24 Mar 2017 03:34:05 +0000
(11:34 +0800)
committer
Simon Glass
<sjg@chromium.org>
Thu, 13 Apr 2017 20:44:51 +0000
(14:44 -0600)
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>
arch/arm/mach-at91/spl_atmel.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-at91/spl_atmel.c
b/arch/arm/mach-at91/spl_atmel.c
index 847a30b9a93be8c933a93166c061b3c340ab8986..b75c2ccefdc2a029dec8fceb243b3fb81679fa0a 100644
(file)
--- a/
arch/arm/mach-at91/spl_atmel.c
+++ b/
arch/arm/mach-at91/spl_atmel.c
@@
-101,6
+101,8
@@
void board_init_f(ulong dummy)
board_early_init_f();
+ mem_init();
+
ret = spl_init();
if (ret) {
debug("spl_init() failed: %d\n", ret);
@@
-109,5
+111,4
@@
void board_init_f(ulong dummy)
preloader_console_init();
- mem_init();
}