summaryrefslogtreecommitdiff
path: root/src/include/console
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-02-15 07:53:18 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-03-04 15:27:53 +0100
commit4770749edca1e54c9a04b48ca6909d786139fa1b (patch)
tree05ef5eeba7586e3ba28f24eca77b349b2305580a /src/include/console
parent1d7541feeba372ec3d1d441442238e1c65972bd7 (diff)
uart8250io: Unify calls with generic UART
Change-Id: I6d56648e56f2177e1d5332497321e718df18300c Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5234 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/include/console')
-rw-r--r--src/include/console/uart.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/console/uart.h b/src/include/console/uart.h
index 9b52a78c69..8aa8ea24ce 100644
--- a/src/include/console/uart.h
+++ b/src/include/console/uart.h
@@ -37,10 +37,11 @@ unsigned int uart_baudrate_divisor(unsigned int baudrate,
unsigned int refclk, unsigned int oversample);
-unsigned char uart_rx_byte(void);
+void uart_init(void);
void uart_tx_byte(unsigned char data);
void uart_tx_flush(void);
-void uart_init(void);
+unsigned char uart_rx_byte(void);
+int uart_can_rx_byte(void);
uint32_t uartmem_getbaseaddr(void);