summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-07-14 21:19:08 +0200
committerWolfgang Denk <wd@denx.de>2008-07-14 21:19:08 +0200
commitb880cbf207b1c109d3a661417a8feddcbd729a9d (patch)
tree794bf40c9c29b7b9fe6f09f069fe03ad6b78bb89
parente2d45e6f4d9919e1afeac5e09557b2252832fccf (diff)
downloadu-boot-imx-b880cbf207b1c109d3a661417a8feddcbd729a9d.zip
u-boot-imx-b880cbf207b1c109d3a661417a8feddcbd729a9d.tar.gz
u-boot-imx-b880cbf207b1c109d3a661417a8feddcbd729a9d.tar.bz2
cpu/i386/serial.c: Fix syntax errors
Signed-off-by: Wolfgang Denk <wd@denx.de>
-rw-r--r--cpu/i386/serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/i386/serial.c b/cpu/i386/serial.c
index baf35e5..8b5f8fa 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 */