aboutsummaryrefslogtreecommitdiff
path: root/src/lib/uart8250.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/uart8250.c')
-rw-r--r--src/lib/uart8250.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/uart8250.c b/src/lib/uart8250.c
index 64e8854ef5..e7ddd0bfd5 100644
--- a/src/lib/uart8250.c
+++ b/src/lib/uart8250.c
@@ -48,7 +48,10 @@ void uart8250_tx_byte(unsigned base_port, unsigned char data)
{
uart8250_wait_to_tx_byte(base_port);
outb(data, base_port + UART_TBR);
- /* Make certain the data clears the fifos */
+}
+
+void uart8250_tx_flush(unsigned base_port)
+{
uart8250_wait_until_sent(base_port);
}