diff options
author | Rich Felker <dalias@libc.org> | 2016-01-08 15:34:05 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-06 22:56:43 -0800 |
commit | 7cdcc29e4919dc31f494eaf05e46005c28efe832 (patch) | |
tree | 6c50ad790dca645c891a80bad4cdc1c139b20196 /drivers/tty/serial/Kconfig | |
parent | cafe1ac6402395eb990c936204ff0760af963633 (diff) | |
download | blackbird-op-linux-7cdcc29e4919dc31f494eaf05e46005c28efe832.tar.gz blackbird-op-linux-7cdcc29e4919dc31f494eaf05e46005c28efe832.zip |
serial-uartlite: add earlycon support
Microblaze currently uses the old earlyprintk system, rather than the
unified earlycon support, to show boot messages on uartlite. Add
earlycon support so that other archs using uartlite can benefit from
it. The new code in uartlite.c is copied almost verbatim from
arch/microblaze/kernel/early_printk.c.
Signed-off-by: Rich Felker <dalias@libc.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/Kconfig')
-rw-r--r-- | drivers/tty/serial/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 54b6f2c15f72..bdbe1c533c6a 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -610,6 +610,7 @@ config SERIAL_UARTLITE_CONSOLE bool "Support for console on Xilinx uartlite serial port" depends on SERIAL_UARTLITE=y select SERIAL_CORE_CONSOLE + select SERIAL_EARLYCON help Say Y here if you wish to use a Xilinx uartlite as the system console (the system console is the device which receives all kernel |