Commit 3284f4eb authored by Tom Rini's avatar Tom Rini

PPC32: Fix a warning in the boot serial code.

From Scott Anderson <scott_anderson@mvista.com>.
parent 9a1315f1
...@@ -60,7 +60,7 @@ unsigned long serial_init(int chan, void *ignored) ...@@ -60,7 +60,7 @@ unsigned long serial_init(int chan, void *ignored)
else { else {
/* Input clock. */ /* Input clock. */
outb(com_port + (UART_DLL << shift), outb(com_port + (UART_DLL << shift),
(BASE_BAUD / SERIAL_BAUD)); (BASE_BAUD / SERIAL_BAUD) & 0xFF);
outb(com_port + (UART_DLM << shift), outb(com_port + (UART_DLM << shift),
(BASE_BAUD / SERIAL_BAUD) >> 8); (BASE_BAUD / SERIAL_BAUD) >> 8);
/* 8 data, 1 stop, no parity */ /* 8 data, 1 stop, no parity */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment