Skip to content

Commit

Permalink
serial: sifive: select by default if SOC_SIFIVE
Browse files Browse the repository at this point in the history
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: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20221005171348.167476-3-conor@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Conor Dooley authored and Greg Kroah-Hartman committed Nov 2, 2022
1 parent 30a0b95 commit d780a47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/tty/serial/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -958,6 +958,7 @@ config SERIAL_OMAP_CONSOLE
config SERIAL_SIFIVE
tristate "SiFive UART support"
depends on OF
default SOC_SIFIVE
select SERIAL_CORE
help
Select this option if you are building a kernel for a device that
Expand All @@ -967,6 +968,7 @@ config SERIAL_SIFIVE
config SERIAL_SIFIVE_CONSOLE
bool "Console on SiFive UART"
depends on SERIAL_SIFIVE=y
default SOC_SIFIVE
select SERIAL_CORE_CONSOLE
select SERIAL_EARLYCON
help
Expand Down

0 comments on commit d780a47

Please sign in to comment.