projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30a0b95
)
serial: sifive: select by default if SOC_SIFIVE
author
Conor Dooley
<conor.dooley@microchip.com>
Wed, 5 Oct 2022 17:13:45 +0000
(18:13 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 2 Nov 2022 07:10:09 +0000
(08:10 +0100)
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>
drivers/tty/serial/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/Kconfig
b/drivers/tty/serial/Kconfig
index 434f83168546cfeafd0d4735045c9d7b8b2d93ab..94457b54125b6ca8311aec737b2dac4f00a4b91a 100644
(file)
--- a/
drivers/tty/serial/Kconfig
+++ b/
drivers/tty/serial/Kconfig
@@
-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
@@
-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