diff options
Diffstat (limited to 'firmware/panic.c')
| -rw-r--r-- | firmware/panic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/panic.c b/firmware/panic.c index 37a185f..fb02469 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 |