diff options
-rw-r--r-- | firmware/thread.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/thread.c b/firmware/thread.c index 2dd4a9539c..7cde9f5e9f 100644 --- a/firmware/thread.c +++ b/firmware/thread.c | |||
@@ -268,6 +268,10 @@ void switch_thread(void) | |||
268 | #elif CONFIG_CPU == SH7034 | 268 | #elif CONFIG_CPU == SH7034 |
269 | and_b(0x7F, &SBYCR); | 269 | and_b(0x7F, &SBYCR); |
270 | asm volatile ("sleep"); | 270 | asm volatile ("sleep"); |
271 | #elif CONFIG_CPU == PP5020 | ||
272 | /* This should sleep the CPU. It appears to wake by itself on | ||
273 | interrupts */ | ||
274 | CPU_CTL = 0x80000000; | ||
271 | #elif CONFIG_CPU == TCC730 | 275 | #elif CONFIG_CPU == TCC730 |
272 | /* Sleep mode is triggered by the SYS instr on CalmRisc16. | 276 | /* Sleep mode is triggered by the SYS instr on CalmRisc16. |
273 | * Unfortunately, the manual doesn't specify which arg to use. | 277 | * Unfortunately, the manual doesn't specify which arg to use. |