summaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorDaniel Lezcano2015-10-09 15:48:38 +0200
committerDaniel Lezcano2015-12-15 09:41:17 +0100
commit389d9b5841b031103208f1836bcb49a0710531ed (patch)
treee85f99ac13f5d9f4eaeb6b21df6d466d28fc8aa9 /arch/arm/Kconfig
parentclocksource/drivers/st_lpc: Add the COMPILE_TEST option (diff)
downloadkernel-qcow2-linux-389d9b5841b031103208f1836bcb49a0710531ed.tar.gz
kernel-qcow2-linux-389d9b5841b031103208f1836bcb49a0710531ed.tar.xz
kernel-qcow2-linux-389d9b5841b031103208f1836bcb49a0710531ed.zip
clocksource/drivers/pxa_timer: Move the Kconfig rule
Instead of having the clocksource's Kconfig depending on the arch, let the arch to select the timer it needs. The CLKSRC_OF dependency is removed because already selected by the ARCH_PXA, and it is added for SA1100. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 0365cbbc9179..a5d416ec1d01 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -609,6 +609,7 @@ config ARCH_PXA
select AUTO_ZRELADDR
select COMMON_CLK
select CLKDEV_LOOKUP
+ select CLKSRC_PXA
select CLKSRC_MMIO
select CLKSRC_OF
select GENERIC_CLOCKEVENTS
@@ -648,6 +649,8 @@ config ARCH_SA1100
select ARCH_SPARSEMEM_ENABLE
select CLKDEV_LOOKUP
select CLKSRC_MMIO
+ select CLKSRC_PXA
+ select CLKSRC_OF if OF
select CPU_FREQ
select CPU_SA1100
select GENERIC_CLOCKEVENTS