summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/Kconfig
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2011-10-28 09:33:06 +0530
committerPhilippe Langlais <philippe.langlais@linaro.org>2012-03-19 08:55:08 +0100
commitaa774c4e27b692bd98b647b71ff6e95d2d9a227a (patch)
tree141184bfbcac5359006d575251584b619d42175b /arch/arm/mach-ux500/Kconfig
parente275a6f9a635f80f5f1d886328be2c316f8f8543 (diff)
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. ST-Ericsson ID: 368260 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I150f76c6df28be5951a85e9a578125547d7b6d04 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35540 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/Kconfig')
-rw-r--r--arch/arm/mach-ux500/Kconfig26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/Kconfig b/arch/arm/mach-ux500/Kconfig
index 43af6e46c7d..359fbd35644 100644
--- a/arch/arm/mach-ux500/Kconfig
+++ b/arch/arm/mach-ux500/Kconfig
@@ -74,6 +74,32 @@ config KEYLAYOUT_LAYOUT2
endchoice
+choice
+ prompt "DBx500 sched_clock"
+
+config DBX500_SCHED_CLOCK_PRCMU
+ bool "PRCMU Timer sched_clock"
+ depends on CLKSRC_DBX500_PRCMU
+ select CLKSRC_DBX500_PRCMU_SCHED_CLOCK
+ help
+ Use the always on PRCMU Timer as sched_clock
+
+config DB5500_MTIMER_SCHED_CLOCK
+ bool "MTIMER sched_clock"
+ depends on CLKSRC_DB5500_MTIMER
+ select CLKSRC_DB5500_MTIMER_SCHED_CLOCK
+ help
+ Use the always on MTIMER as sched_clock
+
+config DBX500_MTU_SCHED_CLOCK
+ bool "MTU sched_clock"
+ depends on HAS_MTU
+ select NOMADIK_MTU_SCHED_CLOCK
+ help
+ Use the Multi Timer Unit as the sched_clock.
+
+endchoice
+
config UX500_DEBUG_UART
int "Ux500 UART to use for low-level debug"
default 2