]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
ColdFire: Fix timer issue for MCF5272
authorTsiChung Liew <Tsi-Chung.Liew@freescale.com>
Thu, 19 Jun 2008 00:14:01 +0000 (19:14 -0500)
committerJohn Rigby <jrigby@freescale.com>
Fri, 11 Jul 2008 16:45:57 +0000 (10:45 -0600)
The timer was assigned to wrong timer memory mapped which
caused udelay() and timer() not working properly.

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
include/asm-m68k/timer.h

index 030720c89f32f20e42132c65994c7712f33f57c3..1a5de0587148631013856336728a9385877a76c7 100644 (file)
@@ -33,7 +33,7 @@
 /****************************************************************************/
 /* DMA Timer module registers */
 typedef struct dtimer_ctrl {
-#if defined(CONFIG_M5249) || defined(CONFIG_M5253)
+#if defined(CONFIG_M5249) || defined(CONFIG_M5253) || defined(CONFIG_M5272)
        u16 tmr;                /* 0x00 Mode register */
        u16 res1;               /* 0x02 */
        u16 trr;                /* 0x04 Reference register */