From cb7e695ef9d0166b77f14d6d260733f0ff888f13 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Thu, 5 Jan 2006 17:02:48 +0000 Subject: iPod: Fix the bootloader so it can load and run the original Apple firmware again. The Rockbox firmware was doing too much to the hardware so we remove most of the initialisation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8301 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/power.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/drivers/power.c') diff --git a/firmware/drivers/power.c b/firmware/drivers/power.c index 04168f9895..141d985ee6 100644 --- a/firmware/drivers/power.c +++ b/firmware/drivers/power.c @@ -262,8 +262,10 @@ void power_off(void) #if CONFIG_CPU == MCF5249 and_l(~0x00080000, &GPIO1_OUT); #elif CONFIG_CPU == PP5020 +#ifndef BOOTLOADER /* We don't turn off the ipod, we put it in a deep sleep */ pcf50605_standby_mode(); +#endif #elif defined(GMINI_ARCH) P1 &= ~1; P1CON &= ~1; -- cgit v1.2.3