]> git.sur5r.net Git - u-boot/commitdiff
ColdFire: Fix 5282 and 5271 interrupt mask bit
authorTsiChungLiew <Tsi-Chung.Liew@freescale.com>
Wed, 30 Jan 2008 21:04:42 +0000 (15:04 -0600)
committerJohn Rigby <jrigby@freescale.com>
Wed, 20 Feb 2008 20:33:45 +0000 (13:33 -0700)
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
cpu/mcf52x2/interrupts.c

index 2ccbde587e59169c368b7d728caf4bac28a62a0b..9167cec69884cb711541e804e09ef36cb4155a0b 100644 (file)
@@ -77,7 +77,7 @@ void dtimer_intr_setup(void)
        volatile int0_t *intp = (int0_t *) (CFG_INTR_BASE);
 
        intp->icr0[CFG_TMRINTR_NO] = CFG_TMRINTR_PRI;
-       intp->imrl0 &= ~0xFFFFFFFE;
+       intp->imrl0 &= 0xFFFFFFFE;
        intp->imrl0 &= ~CFG_TMRINTR_MASK;
 }
 #endif                         /* CONFIG_MCFTMR */