summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/Kconfig
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2015-08-28 11:56:19 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 17:49:27 +0100
commit913c6c0e947be8fb14d591be69e8966912af9c15 (patch)
tree4d97dee417ea0025397e28d09ebfec5a513b9e5e /drivers/tty/serial/Kconfig
parent4cad4c57e0b3e90555a81e79ac7e82b253979697 (diff)
serial: imx: add earlycon support
Earlycon allows to have an early debugging console that doesn't need to be statically configured in the kernel config, like earlyprintk, but is set up through the stdout-path DT property. This allows to have the early debugging always built into the kernel and enabled on demand without clashing between different boards or architectures. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/Kconfig')
-rw-r--r--drivers/tty/serial/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index f57bb907dc54..9e2cc51d205a 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -582,6 +582,7 @@ config SERIAL_IMX_CONSOLE
bool "Console on IMX serial port"
depends on SERIAL_IMX=y
select SERIAL_CORE_CONSOLE
+ select SERIAL_EARLYCON if OF
help
If you have enabled the serial port on the Freescale IMX
CPU you can make it the console by answering Y to this option.