|
@@ -2301,10 +2301,10 @@ static struct console amba_console = {
|
|
|
|
|
|
static void pl011_putc(struct uart_port *port, int c)
|
|
|
{
|
|
|
- while (readl(port->membase + REG_FR) & UART01x_FR_TXFF)
|
|
|
+ while (readl(port->membase + UART01x_FR) & UART01x_FR_TXFF)
|
|
|
;
|
|
|
- writeb(c, port->membase + REG_DR);
|
|
|
- while (readl(port->membase + REG_FR) & UART01x_FR_BUSY)
|
|
|
+ writeb(c, port->membase + UART01x_DR);
|
|
|
+ while (readl(port->membase + UART01x_FR) & UART01x_FR_BUSY)
|
|
|
;
|
|
|
}
|
|
|
|