aboutsummaryrefslogtreecommitdiff
path: root/src/lib/uart8250mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/uart8250mem.c')
-rw-r--r--src/lib/uart8250mem.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/uart8250mem.c b/src/lib/uart8250mem.c
index 918308ecdf..e79cb63346 100644
--- a/src/lib/uart8250mem.c
+++ b/src/lib/uart8250mem.c
@@ -51,7 +51,10 @@ void uart8250_mem_tx_byte(unsigned base_port, unsigned char data)
{
uart8250_mem_wait_to_tx_byte(base_port);
write8(base_port + UART_TBR, data);
- /* Make certain the data clears the FIFOs */
+}
+
+void uart8250_mem_tx_flush(unsigned base_port)
+{
uart8250_mem_wait_until_sent(base_port);
}