tty: serial: lantiq: implement earlycon support
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 11 Dec 2016 20:42:23 +0000 (21:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jan 2017 10:51:24 +0000 (11:51 +0100)
commitec84aa0a920192df56624961cb146947d7d9e11e
tree1249b3ff2d740f9e444c28b5688e829ec6aa173b
parent2aaa957361f9b84fb72ce0124ebb1e5835235ba8
tty: serial: lantiq: implement earlycon support

This allows enabling earlycon for devices with a Lantiq serial console
by splitting lqasc_serial_port_write() from lqasc_console_write() and
re-using the new function for earlycon's write callback.

The kernel-parameter name matches the driver name ("lantiq"), similar
to how other drivers implement this.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/admin-guide/kernel-parameters.txt
drivers/tty/serial/Kconfig
drivers/tty/serial/lantiq.c