Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

serial/sifive: select SERIAL_EARLYCON

The sifive serial driver implements earlycon support, but unless
another driver is built in that supports earlycon support it won't
be usable. Explicitly select SERIAL_EARLYCON instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Paul Walmsley <paul.walmsley@sifive.com>
Link: https://lore.kernel.org/r/20190910055923.28384-1-hch@lst.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Christoph Hellwig and committed by
Greg Kroah-Hartman
7e2a165d 5080d127

+1
+1
drivers/tty/serial/Kconfig
··· 1032 1032 bool "Console on SiFive UART" 1033 1033 depends on SERIAL_SIFIVE=y 1034 1034 select SERIAL_CORE_CONSOLE 1035 + select SERIAL_EARLYCON 1035 1036 help 1036 1037 Select this option if you would like to use a SiFive UART as the 1037 1038 system console.