aboutsummaryrefslogtreecommitdiff
path: root/src/lib/uart8250.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2006-10-07 00:13:24 +0000
committerStefan Reinauer <stepan@openbios.org>2006-10-07 00:13:24 +0000
commitebafa4df425445a63725ce23b7d40dab6d5e99cd (patch)
tree02d529146bf57863b8db1be83e12fa9fa493cf83 /src/lib/uart8250.c
parent197a4a8dbbbb03f25fd43d652173517be3e37d59 (diff)
Add serial stream payload support from Ed Swierk <eswierk@arastra.com>
X-Signed-Off-By: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2447 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
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);