aboutsummaryrefslogtreecommitdiff
path: root/src/include/uart.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/uart.h')
-rw-r--r--src/include/uart.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/uart.h b/src/include/uart.h
index 2a72575871..e42449653f 100644
--- a/src/include/uart.h
+++ b/src/include/uart.h
@@ -26,7 +26,7 @@
#ifndef UART_H
#define UART_H
-#if CONFIG_CONSOLE_SERIAL8250
+#if CONFIG_CONSOLE_SERIAL8250 || CONFIG_CONSOLE_SERIAL8250MEM
#include <uart8250.h>
#endif
@@ -34,7 +34,7 @@
#include <cpu/samsung/exynos5-common/uart.h>
#endif
-#ifndef __ROMCC__
+#if !defined(__ROMCC__) && CONFIG_CONSOLE_SERIAL_UART
unsigned char uart_rx_byte(void);
void uart_tx_byte(unsigned char data);
void uart_tx_flush(void);