diff options
author | Conor Dooley <conor.dooley@microchip.com> | 2022-10-05 18:13:46 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-02 08:10:11 +0100 |
commit | f58a16043a2154661aafe8287cea24e6ae51a9d9 (patch) | |
tree | a3a1b7f0117c252b1bdf4531d2f9ef529188b387 /drivers/tty/serial | |
parent | d780a47c2de9a761bb3d754a24e76495b3f0d55f (diff) | |
download | linux-stable-f58a16043a2154661aafe8287cea24e6ae51a9d9.tar.gz linux-stable-f58a16043a2154661aafe8287cea24e6ae51a9d9.tar.bz2 linux-stable-f58a16043a2154661aafe8287cea24e6ae51a9d9.zip |
serial: sifive: select by default if SOC_CANAAN
With the aim of dropping direct selects of drivers from Kconfig.socs,
default the SiFive serial drivers to enabled if SOC_CANAAN.
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20221005171348.167476-4-conor@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r-- | drivers/tty/serial/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 94457b54125b..c55b947f3cdb 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -958,7 +958,7 @@ config SERIAL_OMAP_CONSOLE config SERIAL_SIFIVE tristate "SiFive UART support" depends on OF - default SOC_SIFIVE + default SOC_SIFIVE || SOC_CANAAN select SERIAL_CORE help Select this option if you are building a kernel for a device that @@ -968,7 +968,7 @@ config SERIAL_SIFIVE config SERIAL_SIFIVE_CONSOLE bool "Console on SiFive UART" depends on SERIAL_SIFIVE=y - default SOC_SIFIVE + default SOC_SIFIVE || SOC_CANAAN select SERIAL_CORE_CONSOLE select SERIAL_EARLYCON help |