diff options
Diffstat (limited to 'firmware/rolo.c')
-rw-r--r-- | firmware/rolo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/rolo.c b/firmware/rolo.c index 0b8a4f28ba..1ad59e216b 100644 --- a/firmware/rolo.c +++ b/firmware/rolo.c | |||
@@ -105,7 +105,7 @@ void rolo_restart(const unsigned char* source, unsigned char* dest, | |||
105 | { | 105 | { |
106 | long i; | 106 | long i; |
107 | unsigned char* localdest = dest; | 107 | unsigned char* localdest = dest; |
108 | #if (CONFIG_CPU==PP5020) || (CONFIG_CPU==PP5024) | 108 | #ifdef CPU_PP502x |
109 | unsigned long* memmapregs = (unsigned long*)0xf000f000; | 109 | unsigned long* memmapregs = (unsigned long*)0xf000f000; |
110 | #endif | 110 | #endif |
111 | 111 | ||
@@ -120,7 +120,7 @@ void rolo_restart(const unsigned char* source, unsigned char* dest, | |||
120 | "jmp (%0) \n" | 120 | "jmp (%0) \n" |
121 | : : "a"(dest) | 121 | : : "a"(dest) |
122 | ); | 122 | ); |
123 | #elif (CONFIG_CPU==PP5020) || (CONFIG_CPU==PP5024) | 123 | #elif defined(CPU_PP502x) |
124 | 124 | ||
125 | /* Tell the COP that we've finished loading and started rebooting */ | 125 | /* Tell the COP that we've finished loading and started rebooting */ |
126 | cpu_message = 0; | 126 | cpu_message = 0; |