|
|
@@ -276,7 +276,7 @@ static void default_serial_dl_write(struct uart_8250_port *up, int value)
|
|
|
serial_out(up, UART_DLM, value >> 8 & 0xff);
|
|
|
}
|
|
|
|
|
|
-#if defined(CONFIG_MIPS_ALCHEMY) || defined(CONFIG_SERIAL_8250_RT288X)
|
|
|
+#ifdef CONFIG_SERIAL_8250_RT288X
|
|
|
|
|
|
/* Au1x00/RT288x UART hardware has a weird register layout */
|
|
|
static const s8 au_io_in_map[8] = {
|
|
|
@@ -427,7 +427,7 @@ static void set_io_from_upio(struct uart_port *p)
|
|
|
p->serial_out = mem32be_serial_out;
|
|
|
break;
|
|
|
|
|
|
-#if defined(CONFIG_MIPS_ALCHEMY) || defined(CONFIG_SERIAL_8250_RT288X)
|
|
|
+#ifdef CONFIG_SERIAL_8250_RT288X
|
|
|
case UPIO_AU:
|
|
|
p->serial_in = au_serial_in;
|
|
|
p->serial_out = au_serial_out;
|