Skip to content
Snippets Groups Projects
Commit 94603c2f authored by TsiChung Liew's avatar TsiChung Liew Committed by John Rigby
Browse files

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: default avatarTsiChung Liew <Tsi-Chung.Liew@freescale.com>
parent 3b1e8ac9
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
/****************************************************************************/ /****************************************************************************/
/* DMA Timer module registers */ /* DMA Timer module registers */
typedef struct dtimer_ctrl { 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 tmr; /* 0x00 Mode register */
u16 res1; /* 0x02 */ u16 res1; /* 0x02 */
u16 trr; /* 0x04 Reference register */ u16 trr; /* 0x04 Reference register */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment