]> git.baikalelectronics.ru Git - kernel.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)
commit4dcd120a3fc44157fe5217e8a87612dfbb99bdc1
tree9c3cfe69823dbd0d79f8cf9f757e4fe4589c8711
parent206d8f13ffb42c54bad4efc87255b46b8928debc
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