From cc5de0ef01e0df9918ca4f9b208d779429ac0ccc Mon Sep 17 00:00:00 2001 From: Daniel Ankers Date: Tue, 27 Feb 2007 23:21:38 +0000 Subject: [PATCH] Oops: G3 doesn't support RoLo git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12512 a1c6a512-1295-4272-9138-f99709370657 --- apps/main.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/main.c b/apps/main.c index 0dec816d77..9faefba250 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) {