summaryrefslogtreecommitdiff
path: root/src/mainboard/sifive/hifive-unleashed
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/sifive/hifive-unleashed')
-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 3767491a5e..8277141cab 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();