summary refs log tree commit diff
path: root/arch/arm/mach-nspire/Kconfig
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2016-06-03 15:03:21 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2016-06-28 10:22:14 +0200
commitd683b9dcc8a8d743f7b660ff3b77ccfbe652e4b9 (patch)
treeeb379652441171a5822d625d767c4ddac666afce /arch/arm/mach-nspire/Kconfig
parent85f98db4adbbd3ec6b41537d31241b59bf47c66f (diff)
downloadlinux-d683b9dcc8a8d743f7b660ff3b77ccfbe652e4b9.tar.gz
clocksource/drivers/nspire: Add the COMPILE_TEST option
Change the Kconfig option logic to fullfil with the current approach.

A new Kconfig option is added, CONFIG_NSPIRE_TIMER and is selected by the
platform. Then the clocksource's Kconfig is changed to make this option
selectable by the user if the COMPILE_TEST option is set. Otherwise, it is
up to the platform's Kconfig to select the timer.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'arch/arm/mach-nspire/Kconfig')
-rw-r--r--arch/arm/mach-nspire/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-nspire/Kconfig b/arch/arm/mach-nspire/Kconfig
index bc41f26c1a12..d4985305cab2 100644
--- a/arch/arm/mach-nspire/Kconfig
+++ b/arch/arm/mach-nspire/Kconfig
@@ -7,5 +7,6 @@ config ARCH_NSPIRE
 	select ARM_AMBA
 	select ARM_VIC
 	select ARM_TIMER_SP804
+	select NSPIRE_TIMER
 	help
 	  This enables support for systems using the TI-NSPIRE CPU