mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-18 02:46:06 +00:00
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>
This commit is contained in:
parent
d780a47c2d
commit
f58a16043a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user