summaryrefslogtreecommitdiff
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2021-07-23 05:25:38 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-08-12 17:01:49 +0300
commit1e4fd60b54cf9f65d2d5b89a9289cbbc42922adf (patch)
tree57dab69562cdee8e67264b59c14ee10f0b8301ec /drivers/clocksource
parent90429205c000f4befdc212cfade39e358292584c (diff)
downloadlinux-1e4fd60b54cf9f65d2d5b89a9289cbbc42922adf.tar.xz
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')
-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.