summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-09-10 07:59:23 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-06 13:08:09 +0100
commit3861c567287dc3f047f44945d3cacc69d1860863 (patch)
treeac0e067cd81f1f813a07af14b2c8855c8da5d51f /drivers/tty
parent26845a7b3fc104e891389a158f6dc807f489a170 (diff)
downloadlinux-stable-3861c567287dc3f047f44945d3cacc69d1860863.tar.gz
linux-stable-3861c567287dc3f047f44945d3cacc69d1860863.tar.bz2
linux-stable-3861c567287dc3f047f44945d3cacc69d1860863.zip
serial/sifive: select SERIAL_EARLYCON
[ Upstream commit 7e2a165de5a52003d10a611ee3884cdb5c44e8cd ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index 3083dbae35f7..3b436ccd29da 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -1075,6 +1075,7 @@ config SERIAL_SIFIVE_CONSOLE
bool "Console on SiFive UART"
depends on SERIAL_SIFIVE=y
select SERIAL_CORE_CONSOLE
+ select SERIAL_EARLYCON
help
Select this option if you would like to use a SiFive UART as the
system console.