[RFC 14/27] clk: sifive: select by default if ARCH_SIFIVE
Conor Dooley
conor at kernel.org
Fri Sep 23 11:55:53 PDT 2022
From: Conor Dooley <conor.dooley at microchip.com>
With the aim of dropping direct selects of drivers from Kconfig.socs,
default the SiFive clock drivers to the value of ARCH_SIFIVE.
Signed-off-by: Conor Dooley <conor.dooley at microchip.com>
---
drivers/clk/sifive/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/sifive/Kconfig b/drivers/clk/sifive/Kconfig
index b21f4cbc3583..2322f634a910 100644
--- a/drivers/clk/sifive/Kconfig
+++ b/drivers/clk/sifive/Kconfig
@@ -3,6 +3,7 @@
menuconfig CLK_SIFIVE
bool "SiFive SoC driver support"
depends on ARCH_SIFIVE || COMPILE_TEST
+ default ARCH_SIFIVE
help
SoC drivers for SiFive Linux-capable SoCs.
@@ -10,6 +11,7 @@ if CLK_SIFIVE
config CLK_SIFIVE_PRCI
bool "PRCI driver for SiFive SoCs"
+ default ARCH_SIFIVE
select RESET_CONTROLLER
select RESET_SIMPLE
select CLK_ANALOGBITS_WRPLL_CLN28HPC
--
2.37.3
More information about the linux-riscv
mailing list