summaryrefslogtreecommitdiff
path: root/drivers/clocksource/Kconfig
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2016-06-06 14:34:28 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2016-06-28 10:22:16 +0200
commit67a87a43b9117029446bea6397675bc6f7725a5a (patch)
treefc9958fec388666f1c7bdef6055e92b5615a7169 /drivers/clocksource/Kconfig
parent568c0342e494fa4c05377c6c83c653afa350985a (diff)
clocksource/drivers/arm_global_timer: Add the COMPILE_TEST option
Change the Kconfig option logic to fullfil with the current approach, allowing the user to compile the driver on different platforms. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/Kconfig')
-rw-r--r--drivers/clocksource/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 8055b37347ff..1711079c3cc0 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -304,8 +304,9 @@ config ARM_ARCH_TIMER_EVTSTREAM
hardware anomalies of missing events.
config ARM_GLOBAL_TIMER
- bool
+ bool "Support for the ARM global timer" if COMPILE_TEST
select CLKSRC_OF if OF
+ depends on ARM
help
This options enables support for the ARM global timer unit