]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: spl: use spl_early_init() instead of spl_init()
authorKever Yang <kever.yang@rock-chips.com>
Mon, 20 Mar 2017 06:47:16 +0000 (14:47 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Apr 2017 02:01:57 +0000 (20:01 -0600)
Rockchip spl driver needs using spl_early_init().

Fixes: b3d2861e (spl: Remove overwrite of relocated malloc limit)
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-rockchip/rk3188-board-spl.c
arch/arm/mach-rockchip/rk3399-board-spl.c

index f93feae0c9bedc339ed9fdbbf261b42048047eb0..117f6b8f4219694101081ce95193b20f8274b7fa 100644 (file)
@@ -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();
        }
 
index 8ae305542bc23753492dbb6604ce1105209f2670..08aa0cb1caeb816b90f9df12ebef65d6d49b111c 100644 (file)
@@ -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();
        }