mirror of
https://github.com/sjlongland/adv950.git
synced 2025-09-13 10:43:14 +10:00
serial_core: Remove DesignWare UART work-arounds.
As per 4834d028978583dfe8e1fc19f1180ceb03d8dfb7, in fact this code should never have been *in* the Advantech driver in the first place.
This commit is contained in:
parent
c7e37585f3
commit
157b5ca846
@ -2051,8 +2051,6 @@ uart_report_port(struct uart_driver *drv, struct uart_port *port)
|
||||
case UPIO_MEM32:
|
||||
case UPIO_AU:
|
||||
case UPIO_TSI:
|
||||
case UPIO_DWAPB:
|
||||
case UPIO_DWAPB32:
|
||||
snprintf(address, sizeof(address),
|
||||
"MMIO 0x%llx", (unsigned long long)port->mapbase);
|
||||
break;
|
||||
@ -2469,8 +2467,6 @@ int adv_uart_match_port(struct uart_port *port1, struct uart_port *port2)
|
||||
case UPIO_MEM32:
|
||||
case UPIO_AU:
|
||||
case UPIO_TSI:
|
||||
case UPIO_DWAPB:
|
||||
case UPIO_DWAPB32:
|
||||
return (port1->mapbase == port2->mapbase);
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user