diff options
author | Eddie Cai <eddie.cai.linux@gmail.com> | 2017-03-15 14:43:29 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-03-16 22:03:43 (GMT) |
commit | 739760569fe27bdd708b762e0c651144ed5d0cc2 (patch) | |
tree | 1c5c85327da78a63ecf7f46141a8be8cc83afd55 /arch/arm/mach-rockchip/rk3288-board-spl.c | |
parent | 340f418acd1159588b2f0fb50561053212c4247d (diff) | |
download | u-boot-739760569fe27bdd708b762e0c651144ed5d0cc2.tar.xz |
rockchip: rk3288: use spl_early_init() instead of spl_init()
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>
Diffstat (limited to 'arch/arm/mach-rockchip/rk3288-board-spl.c')
-rw-r--r-- | arch/arm/mach-rockchip/rk3288-board-spl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-rockchip/rk3288-board-spl.c b/arch/arm/mach-rockchip/rk3288-board-spl.c index 930939a..3713c13 100644 --- 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(); } |