]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm/mach-omap2/timer-mpu.c
ARM: 6753/1: omap4: Enable ARM local timers with OMAP4430 es1.0 exception
[karo-tx-linux.git] / arch / arm / mach-omap2 / timer-mpu.c
index 09c73dcfc2ac0fb0f5829a793f8eb47fe014fdbd..31c0ac4cd66a457db1cdf42ece0973df8751c1bf 100644 (file)
  */
 int __cpuinit local_timer_setup(struct clock_event_device *evt)
 {
+       /* Local timers are not supprted on OMAP4430 ES1.0 */
+       if (omap_rev() == OMAP4430_REV_ES1_0)
+               return -ENXIO;
+
        evt->irq = OMAP44XX_IRQ_LOCALTIMER;
        twd_timer_setup(evt);
        return 0;