diff options
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/uart8250_console.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/console/uart8250_console.c b/src/console/uart8250_console.c index 86f1401d8c..52f59f643a 100644 --- a/src/console/uart8250_console.c +++ b/src/console/uart8250_console.c @@ -19,7 +19,6 @@ #include <console/console.h> #include <console/uart.h> -#include <uart8250.h> static void ttyS0_init(void) { @@ -28,22 +27,22 @@ static void ttyS0_init(void) static void ttyS0_tx_byte(unsigned char data) { - uart8250_tx_byte(CONFIG_TTYS0_BASE, data); + uart_tx_byte(data); } static void ttyS0_tx_flush(void) { - uart8250_tx_flush(CONFIG_TTYS0_BASE); + uart_tx_flush(); } static unsigned char ttyS0_rx_byte(void) { - return uart8250_rx_byte(CONFIG_TTYS0_BASE); + return uart_rx_byte(); } static int ttyS0_tst_byte(void) { - return uart8250_can_rx_byte(CONFIG_TTYS0_BASE); + return uart_can_rx_byte(); } static const struct console_driver uart8250_console __console = { |