]> git.karo-electronics.de Git - linux-beck.git/commit
tty/serial: add generic serial earlycon
authorRob Herring <robh@kernel.org>
Fri, 18 Apr 2014 22:19:55 +0000 (17:19 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Apr 2014 23:32:27 +0000 (16:32 -0700)
commit9aac5887595b765b6f64b2af08b785e82e095b57
tree9c3cfe69823dbd0d79f8cf9f757e4fe4589c8711
parentd20642f0a32575605f152a1cb7753bdfca5fc94b
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>
drivers/tty/serial/Kconfig
drivers/tty/serial/Makefile
drivers/tty/serial/earlycon.c [new file with mode: 0644]
include/linux/serial_core.h