diff options
| -rw-r--r-- | apps/main.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c index 0dec816..9faefba 100644 --- a/apps/main.c +++ b/apps/main.c @@ -552,14 +552,21 @@ void cop_main(void) At present the COP sleeps unless it receives a message from the CPU telling it that we are loading a new kernel, so must reboot */ +#if CONFIG_CPU == PP5002 +/* 3G doesn't have Rolo support yet */ + while(1) { + COP_CTL = PROC_SLEEP; + } +#else extern volatile unsigned char cpu_message; while(cpu_message != COP_REBOOT) { COP_CTL = PROC_SLEEP; } rolo_restart_cop(); +#endif /* PP5002 */ } -#endif +#endif /* CPU_PP */ int main(void) { |