aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/Kconfig
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2015-11-01 15:16:01 -0500
committerDaniel Lezcano <daniel.lezcano@linaro.org>2015-12-15 03:41:50 -0500
commit1becd6edea0c2849bc1a585d8c549d611517dd76 (patch)
treee73964518ac688ace6db8152238643195ad6dd19 /drivers/clocksource/Kconfig
parent703296530609ef37e22e715c9f5438d60a7ec11f (diff)
clocksource/drivers/prcmu: Fix Kconfig and add COMPILE_TEST option
Let the platform's Kconfig to select the clock instead of having a reverse dependency from the driver to the platform options. Add the COMPILE_TEST option for the compilation test coverage. This change is debatable as the option itself in the Kconfig allows to select the driver for the platform or not. This change will make the prcmu timer always selected. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/clocksource/Kconfig')
-rw-r--r--drivers/clocksource/Kconfig4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 847b3b1b70f4..e3ba5b45f357 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -123,9 +123,7 @@ config CLKSRC_NOMADIK_MTU_SCHED_CLOCK
123 Use the Multi Timer Unit as the sched_clock. 123 Use the Multi Timer Unit as the sched_clock.
124 124
125config CLKSRC_DBX500_PRCMU 125config CLKSRC_DBX500_PRCMU
126 bool "Clocksource PRCMU Timer" 126 bool "Clocksource PRCMU Timer" if COMPILE_TEST
127 depends on UX500_SOC_DB8500
128 default y
129 help 127 help
130 Use the always on PRCMU Timer as clocksource 128 Use the always on PRCMU Timer as clocksource
131 129