mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
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:
parent
b856636f85
commit
cc5de0ef01
1 changed files with 8 additions and 1 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue