rockchip: rk3399: spl: ensure that debug_uart_init is called
[platform/kernel/u-boot.git] / arch / arm / mach-rockchip / rk3399-board-spl.c
index 906aaf4..ccc136f 100644 (file)
@@ -185,11 +185,11 @@ void board_init_f(ulong dummy)
 
 #define EARLY_UART
 #ifdef EARLY_UART
+       debug_uart_init();
+
 # ifdef CONFIG_TARGET_CHROMEBOOK_BOB
        int sum, i;
 
-       debug_uart_init();
-
        /*
         * Add a delay and ensure that the compiler does not optimise this out.
         * This is needed since the power rails tail a while to turn on, and