summaryrefslogtreecommitdiff
path: root/src/include/uart.h
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2013-02-15 19:29:12 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-02-19 19:01:29 +0100
commitfdcef1ace9ee75f7db50fabcf200f9e699bfbba0 (patch)
tree73f1e11335327d0eea0f85a5cad26719d02b854e /src/include/uart.h
parent6802dc8abe250abbe1b89532a9895b7c5d3f77f7 (diff)
downloadcoreboot-fdcef1ace9ee75f7db50fabcf200f9e699bfbba0.tar.xz
move uartmem_getbaseaddr() to generic uart header
This moves uartmem_getbaseaddr() from an 8250-specific header to the generic uart header. This is to accomodate non-8250 memory-mapped UARTs. Change-Id: Id25e7dab12b33bdd928f2aa4611d720aa79f3dee Signed-off-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: http://review.coreboot.org/2422 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/include/uart.h')
-rw-r--r--src/include/uart.h4
1 files changed, 4 insertions, 0 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 */