From: Jiaxun Yang Date: Fri, 23 Jul 2021 02:25:38 +0000 (+0800) Subject: clocksource/drivers/pistachio: Make it selectable for MIPS X-Git-Tag: v5.15~373^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e4fd60b54cf9f65d2d5b89a9289cbbc42922adf;p=platform%2Fkernel%2Flinux-starfive.git clocksource/drivers/pistachio: Make it selectable for MIPS So it will be avilable for generic MIPS kernel. Signed-off-by: Jiaxun Yang Signed-off-by: Thomas Bogendoerfer --- diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index eb661b5..0f5e398 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.