summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/apbuart.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2015-09-15 17:54:13 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 19:09:21 +0100
commit9b2256c8274c72bacb7eca7dee5ffe85832cb5e0 (patch)
tree8e00e3e6fa94ae0f35554a47adfd3531dbefa067 /drivers/tty/serial/apbuart.c
parentce59e48fdbad2aa6609ceb87e1306ec69e577e05 (diff)
serial: 8250: simplify ralink/alchemy register remap selection
Some SoCs, including Ralink/Mediatek and Alchemy Au1xxx, have a 16550-like UART with a non-standard register layout. These are supported by a simple mapping table in 8250_port.c Rather than list every SoC type using this access mode in the ifdefs there, allow selecting the SERIAL_8250_RT288X Kconfig option with any system and default it to y for the known cases needing it. The help text is reworded accordingly. This change simplifies adding support for other SoCs also using the same UART. The name of the option is a little misleading, but not knowing the true origin of this UART, it is as good a choice as any. Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/apbuart.c')
0 files changed, 0 insertions, 0 deletions