summaryrefslogtreecommitdiffstats
path: root/firmware/panic.c
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2005-07-18 12:40:29 +0000
committerChristian Gmeiner <christian.gmeiner@gmail.com>2005-07-18 12:40:29 +0000
commitc6ff1f5eb541f9557e7fbc1449df9c024fd59a03 (patch)
treeae38d203a3fcc15b1d897afe31c5a4f9099ac247 /firmware/panic.c
parentf5df9cd81c685b01b5e72e4a05471d97ffa7d260 (diff)
downloadrockbox-c6ff1f5eb541f9557e7fbc1449df9c024fd59a03.tar.gz
rockbox-c6ff1f5eb541f9557e7fbc1449df9c024fd59a03.tar.bz2
rockbox-c6ff1f5eb541f9557e7fbc1449df9c024fd59a03.zip
Added CPU_COLDFIRE define - one step closer to iAudio-port
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7186 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/panic.c')
-rw-r--r--firmware/panic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/panic.c b/firmware/panic.c
index 37a185f990..fb024693e1 100644
--- a/firmware/panic.c
+++ b/firmware/panic.c
@@ -43,7 +43,7 @@ void panicf( const char *fmt, ...)
/* Disable interrupts */
#if CONFIG_CPU == SH7034
asm volatile ("ldc\t%0,sr" : : "r"(15<<4));
-#elif CONFIG_CPU == MCF5249
+#elif defined(CPU_COLDFIRE)
asm volatile ("move.w #0x2700,%sr");
#endif
#endif