diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2021-07-23 10:25:38 +0800 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-08-12 16:01:49 +0200 |
commit | 1e4fd60b54cf9f65d2d5b89a9289cbbc42922adf (patch) | |
tree | 57dab69562cdee8e67264b59c14ee10f0b8301ec /drivers/clocksource | |
parent | 90429205c000f4befdc212cfade39e358292584c (diff) | |
download | lwn-1e4fd60b54cf9f65d2d5b89a9289cbbc42922adf.tar.gz lwn-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')
-rw-r--r-- | drivers/clocksource/Kconfig | 3 |
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. |