aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/clocksource/Kconfig
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2021-07-23 10:25:38 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-08-12 16:01:49 +0200
commit1e4fd60b54cf9f65d2d5b89a9289cbbc42922adf (patch)
tree57dab69562cdee8e67264b59c14ee10f0b8301ec /drivers/clocksource/Kconfig
parentclk: pistachio: Make it selectable for generic MIPS kernel (diff)
downloadwireguard-linux-1e4fd60b54cf9f65d2d5b89a9289cbbc42922adf.tar.xz
wireguard-linux-1e4fd60b54cf9f65d2d5b89a9289cbbc42922adf.zip
clocksource/drivers/pistachio: Make it selectable for MIPS
So it will be avilable for generic MIPS kernel. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'drivers/clocksource/Kconfig')
-rw-r--r--drivers/clocksource/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index eb661b539a3e..0f5e3983951a 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -234,8 +234,9 @@ config CLKSRC_LPC32XX
Support for the LPC32XX clocksource.
config CLKSRC_PISTACHIO
- bool "Clocksource for Pistachio SoC" if COMPILE_TEST
+ bool "Clocksource for Pistachio SoC"
depends on HAS_IOMEM
+ depends on MIPS || COMPILE_TEST
select TIMER_OF
help
Enables the clocksource for the Pistachio SoC.