serial: imx: add earlycon support
authorLucas Stach <l.stach@pengutronix.de>
Fri, 28 Aug 2015 09:56:19 +0000 (11:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 16:49:27 +0000 (17:49 +0100)
commit913c6c0e947be8fb14d591be69e8966912af9c15
tree4d97dee417ea0025397e28d09ebfec5a513b9e5e
parent4cad4c57e0b3e90555a81e79ac7e82b253979697
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>
drivers/tty/serial/Kconfig
drivers/tty/serial/imx.c