diff options
Diffstat (limited to 'arch/arm/mach-tegra/localtimer.c')
-rw-r--r-- | arch/arm/mach-tegra/localtimer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/localtimer.c b/arch/arm/mach-tegra/localtimer.c index 6ba38f136199..ead217b90eea 100644 --- a/arch/arm/mach-tegra/localtimer.c +++ b/arch/arm/mach-tegra/localtimer.c @@ -21,5 +21,9 @@ void __cpuinit local_timer_setup(struct clock_event_device *evt) { evt->irq = IRQ_LOCALTIMER; +#ifdef CONFIG_ARCH_TEGRA_2x_SOC twd_timer_setup_scalable(evt, 2500000, 4); +#else + twd_timer_setup_scalable(evt, 4000000, 2); +#endif } |