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

A new Kconfig option is added, CONFIG_KEYSTONE_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-keystone')
-rw-r--r--arch/arm/mach-keystone/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-keystone/Kconfig b/arch/arm/mach-keystone/Kconfig
index ea955f6db8b7..bac577badc7e 100644
--- a/arch/arm/mach-keystone/Kconfig
+++ b/arch/arm/mach-keystone/Kconfig
@@ -4,7 +4,7 @@ config ARCH_KEYSTONE
 	depends on ARM_PATCH_PHYS_VIRT
 	select ARM_GIC
 	select HAVE_ARM_ARCH_TIMER
-	select CLKSRC_MMIO
+	select KEYSTONE_TIMER
 	select ARM_ERRATA_798181 if SMP
 	select COMMON_CLK_KEYSTONE
 	select ARCH_SUPPORTS_BIG_ENDIAN