Oops: G3 doesn't support RoLo

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12512 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Ankers 2007-02-27 23:21:38 +00:00
parent b856636f85
commit cc5de0ef01

View file

@ -552,14 +552,21 @@ void cop_main(void)
At present the COP sleeps unless it receives a message from the CPU telling 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 */ 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; extern volatile unsigned char cpu_message;
while(cpu_message != COP_REBOOT) { while(cpu_message != COP_REBOOT) {
COP_CTL = PROC_SLEEP; COP_CTL = PROC_SLEEP;
} }
rolo_restart_cop(); rolo_restart_cop();
#endif /* PP5002 */
} }
#endif #endif /* CPU_PP */
int main(void) int main(void)
{ {