summaryrefslogtreecommitdiff
path: root/drivers/clocksource/Kconfig
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@linaro.org>2012-01-12 09:32:32 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 10:59:15 +0200
commit244cbcf37ec5c6c9e8c1583c33940106988237c4 (patch)
treeefce73c2658e454356f1d3198d8d2413f434c44d /drivers/clocksource/Kconfig
parentfcd4d651204ac31dba7698c5c7021d32c7ffd092 (diff)
clocksource: ux500: use choice for sched_clock
Keep the sched_clock options in clocksource non-visible and instead selecte them from a choice in the arch-specific directory, to avoid recursive dependencies. Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'drivers/clocksource/Kconfig')
-rw-r--r--drivers/clocksource/Kconfig12
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index d3694821bac..6f86f8ca9b0 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -24,11 +24,9 @@ config CLKSRC_DBX500_PRCMU
Use the always on PRCMU Timer as clocksource
config CLKSRC_DBX500_PRCMU_SCHED_CLOCK
- bool "Clocksource PRCMU Timer sched_clock"
- depends on (CLKSRC_DBX500_PRCMU && !NOMADIK_MTU_SCHED_CLOCK && \
- !CLKSRC_DB5500_MTIMER_SCHED_CLOCK)
+ bool
+ depends on CLKSRC_DBX500_PRCMU
select HAVE_SCHED_CLOCK
- default y
help
Use the always on PRCMU Timer as sched_clock
@@ -40,10 +38,8 @@ config CLKSRC_DB5500_MTIMER
Use the always on MTIMER as clocksource
config CLKSRC_DB5500_MTIMER_SCHED_CLOCK
- bool "Clocksource MTIMER sched_clock"
- depends on (CLKSRC_DB5500_MTIMER && !NOMADIK_MTU_SCHED_CLOCK && \
- !CLKSRC_DBX500_PRCMU_SCHED_CLOCK)
+ bool
+ depends on CLKSRC_DB5500_MTIMER
select HAVE_SCHED_CLOCK
- default y
help
Use the always on PRCMU Timer as sched_clock