summaryrefslogtreecommitdiffstats
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/sifive/hifive-unleashed/romstage.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mainboard/sifive/hifive-unleashed/romstage.c b/src/mainboard/sifive/hifive-unleashed/romstage.c
index 3767491a5ecf..8277141cabfd 100644
--- a/src/mainboard/sifive/hifive-unleashed/romstage.c
+++ b/src/mainboard/sifive/hifive-unleashed/romstage.c
@@ -36,9 +36,8 @@ void main(void)
clock_init();
// re-initialize UART
- #if (IS_ENABLED(CONFIG_CONSOLE_SERIAL))
+ if (IS_ENABLED(CONFIG_CONSOLE_SERIAL))
uart_init(CONFIG_UART_FOR_CONSOLE);
- #endif
sdram_init();