From: Kever Yang Date: Mon, 20 Mar 2017 06:47:16 +0000 (+0800) Subject: rockchip: spl: use spl_early_init() instead of spl_init() X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=232cf962227c609b5788bddd08e2bf58366d9483;p=u-boot.git rockchip: spl: use spl_early_init() instead of spl_init() Rockchip spl driver needs using spl_early_init(). Fixes: b3d2861e (spl: Remove overwrite of relocated malloc limit) Signed-off-by: Kever Yang Reviewed-by: Heiko Stuebner Tested-by: Heiko Stuebner Reviewed-by: Simon Glass --- diff --git a/arch/arm/mach-rockchip/rk3188-board-spl.c b/arch/arm/mach-rockchip/rk3188-board-spl.c index f93feae0c9..117f6b8f42 100644 --- a/arch/arm/mach-rockchip/rk3188-board-spl.c +++ b/arch/arm/mach-rockchip/rk3188-board-spl.c @@ -109,9 +109,9 @@ void board_init_f(ulong dummy) printch('\n'); #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(); } diff --git a/arch/arm/mach-rockchip/rk3399-board-spl.c b/arch/arm/mach-rockchip/rk3399-board-spl.c index 8ae305542b..08aa0cb1ca 100644 --- a/arch/arm/mach-rockchip/rk3399-board-spl.c +++ b/arch/arm/mach-rockchip/rk3399-board-spl.c @@ -96,9 +96,9 @@ void board_init_f(ulong dummy) /* Emmc clock generator: disable the clock multipilier */ rk_clrreg(GRF_EMMCCORE_CON11, 0x0ff); - 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(); }