serial/uartlite: Let it build on any arch with IOMEM
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Mon, 15 Jun 2015 14:36:07 +0000 (16:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Jul 2015 00:37:53 +0000 (17:37 -0700)
Being a soft core, it can be located not only on PPC or Microblaze
platforms.

Since the driver already does endianness detection we only need to
change the Kconfig to use it in other arches.

This is also done in other softcores as xilinx-spi.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig

index 76e65b7..10a5f0a 100644 (file)
@@ -594,7 +594,7 @@ config SERIAL_IMX_CONSOLE
 
 config SERIAL_UARTLITE
        tristate "Xilinx uartlite serial port support"
-       depends on PPC32 || MICROBLAZE || MFD_TIMBERDALE || ARCH_ZYNQ
+       depends on HAS_IOMEM
        select SERIAL_CORE
        help
          Say Y here if you want to use the Xilinx uartlite serial controller.