summaryrefslogtreecommitdiffstats
path: root/cpu
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:02:08 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:02:08 +0200
commit129bcd7a4db6c57b71c1e3dca52775807c5753c0 (patch)
treef0df884d2128dd822ef1f0e31c2a101771d8c0ed /cpu
parent683460969159406d65c4f11d2d3e857188242e16 (diff)
downloadbarebox-129bcd7a4db6c57b71c1e3dca52775807c5753c0.tar.gz
barebox-129bcd7a4db6c57b71c1e3dca52775807c5753c0.tar.xz
svn_rev_594
no interrupts
Diffstat (limited to 'cpu')
-rw-r--r--cpu/mpc5xxx/start.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpu/mpc5xxx/start.S b/cpu/mpc5xxx/start.S
index 92246f3e7f..063288c2d6 100644
--- a/cpu/mpc5xxx/start.S
+++ b/cpu/mpc5xxx/start.S
@@ -233,8 +233,11 @@ ProgramCheck:
/* I guess we could implement decrementer, and may have
* to someday for timekeeping.
*/
+#ifdef CONFIG_INTERRUPTS
STD_EXCEPTION(0x900, Decrementer, timer_interrupt)
-
+#else
+ STD_EXCEPTION(0x900, Decrementer, UnknownException)
+#endif
STD_EXCEPTION(0xa00, Trap_0a, UnknownException)
STD_EXCEPTION(0xb00, Trap_0b, UnknownException)
STD_EXCEPTION(0xc00, SystemCall, UnknownException)