From: Wolfgang Denk Date: Mon, 14 Jul 2008 19:19:08 +0000 (+0200) Subject: cpu/i386/serial.c: Fix syntax errors X-Git-Tag: v1.3.4-rc1~13 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b880cbf207b1c109d3a661417a8feddcbd729a9d;p=u-boot cpu/i386/serial.c: Fix syntax errors Signed-off-by: Wolfgang Denk --- diff --git a/cpu/i386/serial.c b/cpu/i386/serial.c index baf35e53d5..8b5f8fa117 100644 --- a/cpu/i386/serial.c +++ b/cpu/i386/serial.c @@ -413,8 +413,8 @@ void kgdb_serial_init(void) * Init onboard 16550 UART */ outb(0x80, UART1_BASE + UART_LCR); /* set DLAB bit */ - outb(bdiv & 0xff), UART1_BASE + UART_DLL); /* set divisor for 9600 baud */ - outb(bdiv >> 8), UART1_BASE + UART_DLM); /* set divisor for 9600 baud */ + outb((bdiv & 0xff), UART1_BASE + UART_DLL); /* set divisor for 9600 baud */ + outb((bdiv >> 8 ), UART1_BASE + UART_DLM); /* set divisor for 9600 baud */ outb(0x03, UART1_BASE + UART_LCR); /* line control 8 bits no parity */ outb(0x00, UART1_BASE + UART_FCR); /* disable FIFO */ outb(0x00, UART1_BASE + UART_MCR); /* no modem control DTR RTS */