summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-09-10 08:59:23 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-04 16:01:15 +0300
commit7e2a165de5a52003d10a611ee3884cdb5c44e8cd (patch)
treef00e54b13437da4f25b44007d6ccb6577ac99d34 /drivers/tty/serial/Kconfig
parent5080d127127ac5b610b57900774d9559ae55e817 (diff)
downloadlinux-7e2a165de5a52003d10a611ee3884cdb5c44e8cd.tar.xz
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>
Diffstat (limited to 'drivers/tty/serial/Kconfig')
-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 4789b5d62f63..67a9eb3f94ce 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -1032,6 +1032,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.