rockchip: rk3399: show SPL BANNER earlier in board_init_f()
Show the SPL BANNER earlier so that we know already get into SPL.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
diff --git a/arch/arm/mach-rockchip/rk3399-board-spl.c b/arch/arm/mach-rockchip/rk3399-board-spl.c
index 826ca44..b790ad9 100644
--- a/arch/arm/mach-rockchip/rk3399-board-spl.c
+++ b/arch/arm/mach-rockchip/rk3399-board-spl.c
@@ -130,6 +130,8 @@
pr_err("DRAM init failed: %d\n", ret);
return;
}
+
+ preloader_console_init();
}
#if defined(SPL_GPIO_SUPPORT)
@@ -188,8 +190,6 @@
if (regulators_enable_boot_on(false))
debug("%s: Cannot enable boot on regulator\n", __func__);
#endif
-
- preloader_console_init();
}
#ifdef CONFIG_SPL_LOAD_FIT