diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2005-07-18 12:40:29 +0000 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2005-07-18 12:40:29 +0000 |
commit | c6ff1f5eb541f9557e7fbc1449df9c024fd59a03 (patch) | |
tree | ae38d203a3fcc15b1d897afe31c5a4f9099ac247 /firmware/system.c | |
parent | f5df9cd81c685b01b5e72e4a05471d97ffa7d260 (diff) |
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/system.c')
-rw-r--r-- | firmware/system.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/system.c b/firmware/system.c index 219ad976bc..13d424d02b 100644 --- a/firmware/system.c +++ b/firmware/system.c @@ -303,7 +303,7 @@ void system_init(void) -#elif CONFIG_CPU == MCF5249 +#elif defined(CPU_COLDFIRE) #define default_interrupt(name) \ extern __attribute__((weak,alias("UIE"))) void name (void) @@ -1104,7 +1104,7 @@ int system_memory_guard(int newmode) void system_reboot (void) { -#if CONFIG_CPU == MCF5249 +#ifdef CPU_COLDFIRE set_cpu_frequency(0); asm(" move.w #0x2700,%sr"); |