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:
340f418
)
rockchip: rk3288: use spl_early_init() instead of spl_init()
author
Eddie Cai
<eddie.cai.linux@gmail.com>
Wed, 15 Mar 2017 14:43:29 +0000
(08:43 -0600)
committer
Simon Glass
<sjg@chromium.org>
Thu, 16 Mar 2017 22:03:43 +0000
(16:03 -0600)
Use spl_early_init() to make sure that early malloc() is initialised. This
fixes booting on firefly-rk3288, for example.
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Eddie Cai <eddie.cai.linux@gmail.com>
arch/arm/mach-rockchip/rk3288-board-spl.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rockchip/rk3288-board-spl.c
b/arch/arm/mach-rockchip/rk3288-board-spl.c
index 930939ad24c4bc9a3b97850f3db32959819290ea..3713c13d69c60778e6bd08010699421d48079980 100644
(file)
--- a/
arch/arm/mach-rockchip/rk3288-board-spl.c
+++ b/
arch/arm/mach-rockchip/rk3288-board-spl.c
@@
-184,9
+184,9
@@
void board_init_f(ulong dummy)
debug_uart_init();
#endif
- ret = spl_init();
+ ret = spl_
early_
init();
if (ret) {
- debug("spl_init() failed: %d\n", ret);
+ debug("spl_
early_
init() failed: %d\n", ret);
hang();
}