summaryrefslogtreecommitdiff
path: root/board/nuvoton/poleg_evb/poleg_evb.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/nuvoton/poleg_evb/poleg_evb.c')
-rw-r--r--board/nuvoton/poleg_evb/poleg_evb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/nuvoton/poleg_evb/poleg_evb.c b/board/nuvoton/poleg_evb/poleg_evb.c
index 0a3c052a019..9dfe9744363 100644
--- a/board/nuvoton/poleg_evb/poleg_evb.c
+++ b/board/nuvoton/poleg_evb/poleg_evb.c
@@ -64,7 +64,9 @@ static int last_stage_init(void)
}
sprintf(value, "ttyS%d,115200n8", dev->seq_);
env_set("console", value);
+#ifdef CONFIG_SYS_SKIP_UART_INIT
return board_set_console();
+#endif
}
return 0;