From: Eddie Cai Date: Wed, 15 Mar 2017 14:43:29 +0000 (-0600) Subject: rockchip: rk3288: use spl_early_init() instead of spl_init() X-Git-Tag: v2017.05-rc1~55^2~47 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=739760569fe27bdd708b762e0c651144ed5d0cc2;p=u-boot 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 Signed-off-by: Simon Glass Reviewed-by: Eddie Cai --- diff --git a/arch/arm/mach-rockchip/rk3288-board-spl.c b/arch/arm/mach-rockchip/rk3288-board-spl.c index 930939ad24..3713c13d69 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(); }