summaryrefslogtreecommitdiff
path: root/firmware/drivers/power.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-05-02 08:08:10 +0000
committerDave Chapman <dave@dchapman.com>2006-05-02 08:08:10 +0000
commitf79d35a25eb47b681d6c3c6f4c8aaba9175ec633 (patch)
tree5cafc44117d583ab15d9b8a9bfda34eef88e637e /firmware/drivers/power.c
parentb1feebeb2b30ccbcc02af6e965b9408b9af7f8f8 (diff)
downloadrockbox-f79d35a25eb47b681d6c3c6f4c8aaba9175ec633.zip
rockbox-f79d35a25eb47b681d6c3c6f4c8aaba9175ec633.tar.gz
rockbox-f79d35a25eb47b681d6c3c6f4c8aaba9175ec633.tar.bz2
rockbox-f79d35a25eb47b681d6c3c6f4c8aaba9175ec633.tar.xz
ipods - First implementation of pcf50605_init() function. This enables the power-out in the Dock connector, which may help getting some accessories working - if they don't need to talk to the ipod via the Apple Accessory Protocol. Thanks to julius in IRC for testing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9860 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/power.c')
-rw-r--r--firmware/drivers/power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/power.c b/firmware/drivers/power.c
index 9cc751e..c4b9fb5 100644
--- a/firmware/drivers/power.c
+++ b/firmware/drivers/power.c
@@ -85,7 +85,7 @@ void power_init(void)
#endif
#endif
#elif CONFIG_CPU == PP5020 || CONFIG_CPU == PP5002
- /* TODO: Implement power_init() */
+ pcf50605_init();
#else
#ifdef HAVE_POWEROFF_ON_PB5
PBCR2 &= ~0x0c00; /* GPIO for PB5 */