]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
arm: zynq: Don't use arm_global_timer with cpufreq
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Wed, 19 Feb 2014 23:14:43 +0000 (15:14 -0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 11 Mar 2014 22:10:16 +0000 (23:10 +0100)
The timer frequency of the arm_global_timer depends on the CPU
frequency. With cpufreq altering that frequency the arm_global_timer
does not maintain a stable time base. Therefore don't enable that timer
in case cpufreq is enabled.

Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynq/Kconfig

index 6b04260aa142da12e290b20aab00a35cc105d364..f84fab14f0b7f96e97697c9f99b45117036f747c 100644 (file)
@@ -13,6 +13,6 @@ config ARCH_ZYNQ
        select HAVE_SMP
        select SPARSE_IRQ
        select CADENCE_TTC_TIMER
-       select ARM_GLOBAL_TIMER
+       select ARM_GLOBAL_TIMER if !CPU_FREQ
        help
          Support for Xilinx Zynq ARM Cortex A9 Platform