summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorDaniel Ankers <dan@weirdo.org.uk>2007-02-27 23:21:38 +0000
committerDaniel Ankers <dan@weirdo.org.uk>2007-02-27 23:21:38 +0000
commitcc5de0ef01e0df9918ca4f9b208d779429ac0ccc (patch)
tree3f275fc7b03189343cc49bd5a8884cefa05c6582 /apps
parentb856636f85c37b4a07cd00c7ef4395ba0b81e2ab (diff)
downloadrockbox-cc5de0ef01e0df9918ca4f9b208d779429ac0ccc.zip
rockbox-cc5de0ef01e0df9918ca4f9b208d779429ac0ccc.tar.gz
rockbox-cc5de0ef01e0df9918ca4f9b208d779429ac0ccc.tar.bz2
rockbox-cc5de0ef01e0df9918ca4f9b208d779429ac0ccc.tar.xz
Oops: G3 doesn't support RoLo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12512 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/main.c9
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)
{