[coreboot] New patch to review for coreboot: 5365c9e move uartmem_getbaseaddr() to generic uart header
David Hendricks (dhendrix@chromium.org)
gerrit at coreboot.org
Sat Feb 16 04:53:11 CET 2013
David Hendricks (dhendrix at chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2422
-gerrit
commit 5365c9ee001dfbb80d912bbfbef884e9dfa5879b
Author: David Hendricks <dhendrix at chromium.org>
Date: Fri Feb 15 19:29:12 2013 -0800
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 at chromium.org>
---
src/include/uart.h | 4 ++++
src/include/uart8250.h | 1 -
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/include/uart.h b/src/include/uart.h
index ca5191e..6b8d8e8 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 9af43f2..d1164c5 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 */
More information about the coreboot
mailing list