[U-Boot] [PATCH 16/35] rockchip: rk3288: show SPL BANNER earlier in board_init_f()

Kever Yang kever.yang at rock-chips.com
Mon Jul 22 11:59:23 UTC 2019


Show the SPL BANNER earlier so that we know already get into SPL.

Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
---

 arch/arm/mach-rockchip/rk3288-board-spl.c | 4 ++--
 1 file 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 9efba47aff..6fbb22075c 100644
--- a/arch/arm/mach-rockchip/rk3288-board-spl.c
+++ b/arch/arm/mach-rockchip/rk3288-board-spl.c
@@ -167,6 +167,8 @@ void board_init_f(ulong dummy)
 
 	arch_cpu_init();
 
+	preloader_console_init();
+
 	ret = rockchip_get_clk(&dev);
 	if (ret) {
 		debug("CLK init failed: %d\n", ret);
@@ -227,8 +229,6 @@ void spl_board_init(void)
 		hang();
 	}
 
-	preloader_console_init();
-
 	return;
 }
 
-- 
2.17.1



More information about the U-Boot mailing list