Factor out common mptable code to mptable_init().
[coreboot.git] / src / include / uart8250.h
index ae45615758c06394c3750f6a0a439cc2fe4a0ec4..dc09315dea0f7b1645262566bb47fb25a1bb97fc 100644 (file)
@@ -1,7 +1,15 @@
 #ifndef UART8250_H
 #define UART8250_H
 
+struct uart8250 {
+       unsigned int baud;
+       /* Do I need an lcs parameter here? */
+};
+
+unsigned char uart8250_rx_byte(unsigned base_port);
+int uart8250_can_rx_byte(unsigned base_port);
 void uart8250_tx_byte(unsigned base_port, unsigned char data);
 void uart8250_init(unsigned base_port, unsigned divisor, unsigned lcs);
+void init_uart8250(unsigned base_port, struct uart8250 *uart);
 
 #endif /* UART8250_H */