diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-11-16 10:48:14 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-13 22:59:48 -0500 |
commit | afd7f88f157796e586fc99d62da13a54024e0731 (patch) | |
tree | 4a63a6bf714016e99f21254c5692171b72be6de7 /drivers/tty | |
parent | 4e33870b3bb691996354a8f9e8f69458b4fc34d9 (diff) |
serial: 8250: move of_serial code to 8250 directory
As the of-serial driver is now 8250 specific, we can move the
file to a more appropriate place in teh 8250 subdirectory and
adapt the Kconfig help text and file name.
I'm leaving the CONFIG_SERIAL_OF_PLATFORM symbol unchanged
to avoid breaking user configuration files unnecessarily.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/8250/8250_of.c (renamed from drivers/tty/serial/of_serial.c) | 0 | ||||
-rw-r--r-- | drivers/tty/serial/8250/Kconfig | 9 | ||||
-rw-r--r-- | drivers/tty/serial/8250/Makefile | 1 | ||||
-rw-r--r-- | drivers/tty/serial/Kconfig | 10 | ||||
-rw-r--r-- | drivers/tty/serial/Makefile | 1 |
5 files changed, 10 insertions, 11 deletions
diff --git a/drivers/tty/serial/of_serial.c b/drivers/tty/serial/8250/8250_of.c index d66fd24f87cf..d66fd24f87cf 100644 --- a/drivers/tty/serial/of_serial.c +++ b/drivers/tty/serial/8250/8250_of.c | |||
diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig index 25da430bb58b..54f8af8ab4fb 100644 --- a/drivers/tty/serial/8250/Kconfig +++ b/drivers/tty/serial/8250/Kconfig | |||
@@ -377,3 +377,12 @@ config SERIAL_8250_MID | |||
377 | Selecting this option will enable handling of the extra features | 377 | Selecting this option will enable handling of the extra features |
378 | present on the UART found on Intel Medfield SOC and various other | 378 | present on the UART found on Intel Medfield SOC and various other |
379 | Intel platforms. | 379 | Intel platforms. |
380 | |||
381 | config SERIAL_OF_PLATFORM | ||
382 | tristate "Devicetree based probing for 8250 ports" | ||
383 | depends on SERIAL_8250 && OF | ||
384 | help | ||
385 | This option is used for all 8250 compatible serial ports that | ||
386 | are probed through devicetree, including Open Firmware based | ||
387 | PowerPC systems and embedded systems on architectures using the | ||
388 | flattened device tree format. | ||
diff --git a/drivers/tty/serial/8250/Makefile b/drivers/tty/serial/8250/Makefile index e177f8681ada..4ecb80d3549a 100644 --- a/drivers/tty/serial/8250/Makefile +++ b/drivers/tty/serial/8250/Makefile | |||
@@ -28,5 +28,6 @@ obj-$(CONFIG_SERIAL_8250_MT6577) += 8250_mtk.o | |||
28 | obj-$(CONFIG_SERIAL_8250_UNIPHIER) += 8250_uniphier.o | 28 | obj-$(CONFIG_SERIAL_8250_UNIPHIER) += 8250_uniphier.o |
29 | obj-$(CONFIG_SERIAL_8250_INGENIC) += 8250_ingenic.o | 29 | obj-$(CONFIG_SERIAL_8250_INGENIC) += 8250_ingenic.o |
30 | obj-$(CONFIG_SERIAL_8250_MID) += 8250_mid.o | 30 | obj-$(CONFIG_SERIAL_8250_MID) += 8250_mid.o |
31 | obj-$(CONFIG_SERIAL_8250_OF) += 8250_of.o | ||
31 | 32 | ||
32 | CFLAGS_8250_ingenic.o += -I$(srctree)/scripts/dtc/libfdt | 33 | CFLAGS_8250_ingenic.o += -I$(srctree)/scripts/dtc/libfdt |
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 643fc50bb741..0bdf4d5c7c65 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig | |||
@@ -1096,16 +1096,6 @@ config SERIAL_NETX_CONSOLE | |||
1096 | If you have enabled the serial port on the Hilscher NetX SoC | 1096 | If you have enabled the serial port on the Hilscher NetX SoC |
1097 | you can make it the console by answering Y to this option. | 1097 | you can make it the console by answering Y to this option. |
1098 | 1098 | ||
1099 | config SERIAL_OF_PLATFORM | ||
1100 | tristate "Serial port on Open Firmware platform bus" | ||
1101 | depends on OF | ||
1102 | depends on SERIAL_8250 | ||
1103 | help | ||
1104 | If you have a PowerPC based system that has serial ports | ||
1105 | on a platform specific bus, you should enable this option. | ||
1106 | Currently, only 8250 compatible ports are supported, but | ||
1107 | others can easily be added. | ||
1108 | |||
1109 | config SERIAL_OMAP | 1099 | config SERIAL_OMAP |
1110 | tristate "OMAP serial port support" | 1100 | tristate "OMAP serial port support" |
1111 | depends on ARCH_OMAP2PLUS | 1101 | depends on ARCH_OMAP2PLUS |
diff --git a/drivers/tty/serial/Makefile b/drivers/tty/serial/Makefile index ee8893317433..b391c9b31960 100644 --- a/drivers/tty/serial/Makefile +++ b/drivers/tty/serial/Makefile | |||
@@ -63,7 +63,6 @@ obj-$(CONFIG_SERIAL_ATMEL) += atmel_serial.o | |||
63 | obj-$(CONFIG_SERIAL_UARTLITE) += uartlite.o | 63 | obj-$(CONFIG_SERIAL_UARTLITE) += uartlite.o |
64 | obj-$(CONFIG_SERIAL_MSM) += msm_serial.o | 64 | obj-$(CONFIG_SERIAL_MSM) += msm_serial.o |
65 | obj-$(CONFIG_SERIAL_NETX) += netx-serial.o | 65 | obj-$(CONFIG_SERIAL_NETX) += netx-serial.o |
66 | obj-$(CONFIG_SERIAL_OF_PLATFORM) += of_serial.o | ||
67 | obj-$(CONFIG_SERIAL_KGDB_NMI) += kgdb_nmi.o | 66 | obj-$(CONFIG_SERIAL_KGDB_NMI) += kgdb_nmi.o |
68 | obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o | 67 | obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o |
69 | obj-$(CONFIG_SERIAL_OMAP) += omap-serial.o | 68 | obj-$(CONFIG_SERIAL_OMAP) += omap-serial.o |