Commit d780a47c authored by Conor Dooley's avatar Conor Dooley Committed by Greg Kroah-Hartman

serial: sifive: select by default if SOC_SIFIVE

With the aim of dropping direct selects of drivers from Kconfig.socs,
default the SiFive serial drivers to the value of SOC_SIFIVE.
Signed-off-by: default avatarConor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20221005171348.167476-3-conor@kernel.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 30a0b95b
...@@ -958,6 +958,7 @@ config SERIAL_OMAP_CONSOLE ...@@ -958,6 +958,7 @@ config SERIAL_OMAP_CONSOLE
config SERIAL_SIFIVE config SERIAL_SIFIVE
tristate "SiFive UART support" tristate "SiFive UART support"
depends on OF depends on OF
default SOC_SIFIVE
select SERIAL_CORE select SERIAL_CORE
help help
Select this option if you are building a kernel for a device that Select this option if you are building a kernel for a device that
...@@ -967,6 +968,7 @@ config SERIAL_SIFIVE ...@@ -967,6 +968,7 @@ config SERIAL_SIFIVE
config SERIAL_SIFIVE_CONSOLE config SERIAL_SIFIVE_CONSOLE
bool "Console on SiFive UART" bool "Console on SiFive UART"
depends on SERIAL_SIFIVE=y depends on SERIAL_SIFIVE=y
default SOC_SIFIVE
select SERIAL_CORE_CONSOLE select SERIAL_CORE_CONSOLE
select SERIAL_EARLYCON select SERIAL_EARLYCON
help help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment