From 869de4d10aaf549f2f948676179d1c9f71d78049 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Fri, 28 Sep 2007 17:24:29 +0000 Subject: Oops. Can't wait for COP init in the bootloader because it is kept asleep until the firmware is ready to be run. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14888 a1c6a512-1295-4272-9138-f99709370657 --- firmware/thread.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'firmware/thread.c') diff --git a/firmware/thread.c b/firmware/thread.c index b37a99237d..1875650050 100644 --- a/firmware/thread.c +++ b/firmware/thread.c @@ -1085,11 +1085,14 @@ void init_threads(void) #if NUM_CORES > 1 /* This code path will not be run on single core targets */ /* Mark CPU initialized */ cores[CPU].kernel_running = true; + /* Do _not_ wait for the COP to init in the bootloader because it doesn't */ +#ifndef BOOTLOADER /* TODO: HAL interface for this */ /* Wake up coprocessor and let it initialize kernel and threads */ COP_CTL = PROC_WAKE; /* Sleep until finished */ CPU_CTL = PROC_SLEEP; +#endif } else { -- cgit v1.2.3