]> asedeno.scripts.mit.edu Git - linux.git/commit
serial-uartlite: add earlycon support
authorRich Felker <dalias@libc.org>
Fri, 8 Jan 2016 20:34:05 +0000 (15:34 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 06:56:43 +0000 (22:56 -0800)
commit7cdcc29e4919dc31f494eaf05e46005c28efe832
tree6c50ad790dca645c891a80bad4cdc1c139b20196
parentcafe1ac6402395eb990c936204ff0760af963633
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>
drivers/tty/serial/Kconfig
drivers/tty/serial/uartlite.c