serial: omap: Add omapserial earlycon
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 19 Jan 2017 09:59:38 +0000 (15:29 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2017 13:20:23 +0000 (14:20 +0100)
commit28ec9570a22fcf42d5154f6a48dc5b2afdd8d9a3
tree3041b0733771f5c3e054c6bac119e31f10685679
parent7951ffc9eadefded3e7c83a453930e6522c2d1b7
serial: omap: Add omapserial earlycon

Add DT earlycon for omap_serial driver. This boot console is included
with CONFIG_SERIAL_EARLYCON=y, CONFIG_OF=y, CONFIG_SERIAL_OMAP=y, and
CONFIG_OF_EARLY_FLATTREE=y.

This boot console is enabled with the command line option "earlycon"
(without "=<name>...") when the DT 'stdout-path' property matches a
compatible uart.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/omap-serial.c