summaryrefslogtreecommitdiff
path: root/include/asm-m68k/timer.h
diff options
context:
space:
mode:
authorTsiChung Liew <Tsi-Chung.Liew@freescale.com>2008-06-18 19:14:01 -0500
committerJohn Rigby <jrigby@freescale.com>2008-07-11 10:45:57 -0600
commit94603c2fd4dbe0655878416aa0da9f302d4c30d3 (patch)
treee48f796bb51d3b93b6ac9799170f31b0196c0238 /include/asm-m68k/timer.h
parent3b1e8ac9b43f89cc9291a6a86e6b33ef55801515 (diff)
downloadu-boot-imx-94603c2fd4dbe0655878416aa0da9f302d4c30d3.zip
u-boot-imx-94603c2fd4dbe0655878416aa0da9f302d4c30d3.tar.gz
u-boot-imx-94603c2fd4dbe0655878416aa0da9f302d4c30d3.tar.bz2
ColdFire: Fix timer issue for MCF5272
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>
Diffstat (limited to 'include/asm-m68k/timer.h')
-rw-r--r--include/asm-m68k/timer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-m68k/timer.h b/include/asm-m68k/timer.h
index 030720c..1a5de05 100644
--- a/include/asm-m68k/timer.h
+++ b/include/asm-m68k/timer.h
@@ -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 */