rockchip: board: init debug uart if not use pre-loader serial
Pre-loader serial has higher priority. Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Idd736b78454f7bc662abe61d25bbfa3a3e4c0d90
This commit is contained in:
parent
27e62cd7db
commit
5d5f363eb9
|
|
@ -540,9 +540,15 @@ static void early_download_init(void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void board_debug_init(void)
|
||||||
|
{
|
||||||
|
if (!gd->serial.using_pre_serial)
|
||||||
|
board_debug_uart_init();
|
||||||
|
}
|
||||||
|
|
||||||
int board_init(void)
|
int board_init(void)
|
||||||
{
|
{
|
||||||
board_debug_uart_init();
|
board_debug_init();
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
soc_clk_dump();
|
soc_clk_dump();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue