Skip to content

Commit f7df8c9

Browse files
paul-walmsley-sifivebebarino
authored andcommitted
clk: sifive: restrict Kconfig scope for the FU540 PRCI driver
Restrict Kconfig scope for SiFive clock and reset IP block drivers such that they won't appear on most configurations that are unlikely to support them. This is based on a suggestion from Pavel Machek <[email protected]>. Ideally this should be dependent on CONFIG_ARCH_SIFIVE, but since that Kconfig directive does not yet exist, add dependencies on RISCV or COMPILE_TEST for now. Signed-off-by: Paul Walmsley <[email protected]> Signed-off-by: Paul Walmsley <[email protected]> Reported-by: Pavel Machek <[email protected]> Cc: Michael Turquette <[email protected]> Acked-by: Pavel Machek <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent a188339 commit f7df8c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clk/sifive/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
menuconfig CLK_SIFIVE
44
bool "SiFive SoC driver support"
5+
depends on RISCV || COMPILE_TEST
56
help
67
SoC drivers for SiFive Linux-capable SoCs.
78

0 commit comments

Comments
 (0)