serial: 8250_omap: Make 8250_omap driver driver depend on ARCH_K3
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 8 Nov 2018 00:22:29 +0000 (18:22 -0600)
committerTero Kristo <t-kristo@ti.com>
Thu, 8 Nov 2018 13:11:47 +0000 (15:11 +0200)
commit c886751465b8e312389d91446b76a00f45a79276 upstream

Allow 8250 omap serial driver to be used for K3 platforms.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/Kconfig

index f005eaf8bc57aab704adffc21258f8ee5e8cabbf..15c2c54638354744beb9a7031ce4f98344e9be1e 100644 (file)
@@ -375,7 +375,7 @@ config SERIAL_8250_RT288X
 
 config SERIAL_8250_OMAP
        tristate "Support for OMAP internal UART (8250 based driver)"
-       depends on SERIAL_8250 && ARCH_OMAP2PLUS
+       depends on SERIAL_8250 && (ARCH_OMAP2PLUS || ARCH_K3)
        help
          If you have a machine based on an Texas Instruments OMAP CPU you
          can enable its onboard serial ports by enabling this option.