Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7df8c92 authored by Paul Walmsley's avatar Paul Walmsley Committed by Stephen Boyd
Browse files

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
<pavel@ucw.cz>.  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: default avatarPaul Walmsley <paul.walmsley@sifive.com>
Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
Reported-by: default avatarPavel Machek <pavel@ucw.cz>
Cc: Michael Turquette <mturquette@baylibre.com>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent a188339c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@

menuconfig CLK_SIFIVE
	bool "SiFive SoC driver support"
	depends on RISCV || COMPILE_TEST
	help
	  SoC drivers for SiFive Linux-capable SoCs.