summaryrefslogtreecommitdiff
path: root/firmware/drivers/power.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/power.c')
-rw-r--r--firmware/drivers/power.c2
1 files changed, 2 insertions, 0 deletions
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)
262#if CONFIG_CPU == MCF5249 262#if CONFIG_CPU == MCF5249
263 and_l(~0x00080000, &GPIO1_OUT); 263 and_l(~0x00080000, &GPIO1_OUT);
264#elif CONFIG_CPU == PP5020 264#elif CONFIG_CPU == PP5020
265#ifndef BOOTLOADER
265 /* We don't turn off the ipod, we put it in a deep sleep */ 266 /* We don't turn off the ipod, we put it in a deep sleep */
266 pcf50605_standby_mode(); 267 pcf50605_standby_mode();
268#endif
267#elif defined(GMINI_ARCH) 269#elif defined(GMINI_ARCH)
268 P1 &= ~1; 270 P1 &= ~1;
269 P1CON &= ~1; 271 P1CON &= ~1;