clocksource/drivers/pistachio: Make it selectable for MIPS
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Fri, 23 Jul 2021 02:25:38 +0000 (10:25 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 12 Aug 2021 14:01:49 +0000 (16:01 +0200)
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>
drivers/clocksource/Kconfig

index eb661b5..0f5e398 100644 (file)
@@ -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.