Since some people disapprove of white space cleanups mixed in regular commits
[coreboot.git] / src / lib / uart8250.c
index b9abc9e2198e0e28549845f162ffad2d4b7bfa8c..3dbee0b464f1f738f0bd4e49d332657e6aad4eb8 100644 (file)
@@ -33,7 +33,7 @@ static inline void uart8250_wait_to_tx_byte(unsigned base_port)
 
 static inline void uart8250_wait_until_sent(unsigned base_port)
 {
-       while(!(inb(base_port + UART_LSR) & 0x40)) 
+       while(!(inb(base_port + UART_LSR) & 0x40))
                ;
 }
 
@@ -80,7 +80,7 @@ void init_uart8250(unsigned base_port, struct uart8250 *uart)
        int lcs;
        divisor = 115200/(uart->baud ? uart->baud: 1);
        lcs = 3;
-       if (base_port == TTYS0_BASE) {
+       if (base_port == CONFIG_TTYS0_BASE) {
                /* Don't reinitialize the console serial port,
                 * This is espeically nasty in SMP.
                 */