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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/uart8250.c b/src/lib/uart8250.c
index 0336926925..b9abc9e219 100644
--- a/src/lib/uart8250.c
+++ b/src/lib/uart8250.c
@@ -64,6 +64,8 @@ void uart8250_init(unsigned base_port, unsigned divisor, unsigned lcs)
outb(0x0, base_port + UART_IER);
/* enable fifo's */
outb(0x01, base_port + UART_FCR);
+ /* assert DTR and RTS so the other end is happy */
+ outb(0x03, base_port + UART_MCR);
/* Set Baud Rate Divisor to 12 ==> 115200 Baud */
outb(0x80 | lcs, base_port + UART_LCR);
outb(divisor & 0xFF, base_port + UART_DLL);