forked from len0rd/rockbox
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
This commit is contained in:
parent
f5df9cd81c
commit
c6ff1f5eb5
30 changed files with 55 additions and 50 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue