From ebafa4df425445a63725ce23b7d40dab6d5e99cd Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sat, 7 Oct 2006 00:13:24 +0000 Subject: Add serial stream payload support from Ed Swierk X-Signed-Off-By: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2447 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/lib/uart8250.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/uart8250.c') 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); -- cgit v1.2.3