summaryrefslogtreecommitdiff
path: root/include/asm-m68k/immap.h
diff options
context:
space:
mode:
authorRichard Retanubun <RichardRetanubun@RuggedCom.com>2009-03-26 15:26:01 -0400
committerWolfgang Denk <wd@denx.de>2009-06-12 20:45:47 +0200
commit59272620c24549b5bcd03c94ba12ec302c1476a2 (patch)
tree768c0e138a7d08df278802c7cec13fe0d8d88e32 /include/asm-m68k/immap.h
parentdc26965ad3acdfb18780361d77a276b2843a90af (diff)
downloadu-boot-imx-59272620c24549b5bcd03c94ba12ec302c1476a2.zip
u-boot-imx-59272620c24549b5bcd03c94ba12ec302c1476a2.tar.gz
u-boot-imx-59272620c24549b5bcd03c94ba12ec302c1476a2.tar.bz2
Coldfire M5271: Activate u-boot system timer interrupt.
This patch assigns the u-boot system timer interrupt to interrupt level 3, priority 6. Without this patch the interrupt will be a level 0, priority 0, which disables it and cause u-boot functions that relies on the timer (e.g. sleep command) to never return. Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com>
Diffstat (limited to 'include/asm-m68k/immap.h')
-rw-r--r--include/asm-m68k/immap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-m68k/immap.h b/include/asm-m68k/immap.h
index 93f730f..6a3ef03 100644
--- a/include/asm-m68k/immap.h
+++ b/include/asm-m68k/immap.h
@@ -149,7 +149,7 @@
#define CONFIG_SYS_TMRINTR_NO (INT0_LO_DTMR3)
#define CONFIG_SYS_TMRINTR_MASK (INTC_IPRL_INT22)
#define CONFIG_SYS_TMRINTR_PEND (CONFIG_SYS_TMRINTR_MASK)
-#define CONFIG_SYS_TMRINTR_PRI (0) /* Level must include inorder to work */
+#define CONFIG_SYS_TMRINTR_PRI (0x1E) /* Interrupt level 3, priority 6 */
#define CONFIG_SYS_TIMER_PRESCALER (((gd->bus_clk / 1000000) - 1) << 8)
#endif