summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2016-06-03 14:28:38 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2016-06-28 10:22:12 +0200
commitf3550d499576c423db0d902930cf8d848fe09744 (patch)
treeb8d2143392deee4c30c27c3fc423b267bc897431 /arch/arm
parent4929409b202ac3dbfb657b0e3edeffaab2856c2b (diff)
downloadlinux-f3550d499576c423db0d902930cf8d848fe09744.tar.bz2
clocksource/drivers/prima2: Add the COMPILE_TEST option
Change the Kconfig option logic to fullfil with the current approach. A new Kconfig option is added, CONFIG_PRIMA2_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')
-rw-r--r--arch/arm/mach-prima2/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-prima2/Kconfig b/arch/arm/mach-prima2/Kconfig
index 2db8d24ab67a..9e938f2961cf 100644
--- a/arch/arm/mach-prima2/Kconfig
+++ b/arch/arm/mach-prima2/Kconfig
@@ -39,6 +39,7 @@ config ARCH_PRIMA2
default y
select SIRF_IRQ
select ZONE_DMA
+ select PRIMA2_TIMER
help
Support for CSR SiRFSoC ARM Cortex A9 Platform