summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/Makefile
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2014-04-18 22:19:55 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-24 23:32:27 (GMT)
commit9aac5887595b765b6f64b2af08b785e82e095b57 (patch)
tree9c3cfe69823dbd0d79f8cf9f757e4fe4589c8711 /drivers/tty/serial/Makefile
parentd20642f0a32575605f152a1cb7753bdfca5fc94b (diff)
downloadlinux-9aac5887595b765b6f64b2af08b785e82e095b57.tar.xz
tty/serial: add generic serial earlycon
This introduces generic earlycon infrastructure for serial devices based on the 8250 earlycon. This allows for supporting earlycon option with other serial devices. The earlycon output is enabled at the time early_params are processed. Only architectures that have fixmap support or have functional ioremap when early_params are processed are supported. This is the same restriction that the 8250 driver had. Signed-off-by: Rob Herring <robh@kernel.org> Cc: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/Makefile')
-rw-r--r--drivers/tty/serial/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/tty/serial/Makefile b/drivers/tty/serial/Makefile
index 5f2a3f4..2804817 100644
--- a/drivers/tty/serial/Makefile
+++ b/drivers/tty/serial/Makefile
@@ -5,6 +5,8 @@
obj-$(CONFIG_SERIAL_CORE) += serial_core.o
obj-$(CONFIG_SERIAL_21285) += 21285.o
+obj-$(CONFIG_SERIAL_EARLYCON) += earlycon.o
+
# These Sparc drivers have to appear before others such as 8250
# which share ttySx minor node space. Otherwise console device
# names change and other unplesantries.