]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3288: show SPL BANNER earlier in board_init_f()
authorKever Yang <kever.yang@rock-chips.com>
Mon, 22 Jul 2019 11:59:23 +0000 (19:59 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 29 Jul 2019 02:25:27 +0000 (10:25 +0800)
Show the SPL BANNER earlier so that we know already get into SPL.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/rk3288-board-spl.c

index 9efba47affc55c246137e8fe77338e02043ac4f2..6fbb22075c39fdecce6416795a7ec3f3ee3700a9 100644 (file)
@@ -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;
 }