summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/uart.h4
-rw-r--r--src/include/uart8250.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/src/include/uart.h b/src/include/uart.h
index ca5191e292..6b8d8e844c 100644
--- a/src/include/uart.h
+++ b/src/include/uart.h
@@ -37,4 +37,8 @@ void uart_tx_flush(void);
void uart_init(void);
#endif
+#if CONFIG_HAVE_UART_MEMORY_MAPPED
+uint32_t uartmem_getbaseaddr(void);
+#endif
+
#endif /* UART_H */
diff --git a/src/include/uart8250.h b/src/include/uart8250.h
index 9af43f264b..d1164c586c 100644
--- a/src/include/uart8250.h
+++ b/src/include/uart8250.h
@@ -136,7 +136,6 @@ void uart8250_mem_tx_byte(unsigned base_port, unsigned char data);
void uart8250_mem_tx_flush(unsigned base_port);
void uart8250_mem_init(unsigned base_port, unsigned divisor);
u32 uart_mem_init(void);
-u32 uartmem_getbaseaddr(void);
#if defined(__PRE_RAM__) && CONFIG_DRIVERS_OXFORD_OXPCIE
/* and special init for OXPCIe based cards */