summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config/ipod1g2g.h4
-rw-r--r--firmware/target/arm/ipod/power-ipod.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/firmware/export/config/ipod1g2g.h b/firmware/export/config/ipod1g2g.h
index 057b0fab48..fd497c7469 100644
--- a/firmware/export/config/ipod1g2g.h
+++ b/firmware/export/config/ipod1g2g.h
@@ -131,8 +131,8 @@
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
-/* Hardware controlled charging? FIXME */
-//#define CONFIG_CHARGING CHARGING_SIMPLE
+/* Hardware controlled charging */
+#define CONFIG_CHARGING CHARGING_SIMPLE
/* FIXME: Don't shutdown on low battery until we have proper suspend. */
#define NO_LOW_BATTERY_SHUTDOWN
diff --git a/firmware/target/arm/ipod/power-ipod.c b/firmware/target/arm/ipod/power-ipod.c
index ef594173f0..fcaf5b4ff8 100644
--- a/firmware/target/arm/ipod/power-ipod.c
+++ b/firmware/target/arm/ipod/power-ipod.c
@@ -66,7 +66,7 @@ unsigned int power_input_status(void)
if ((GPIOD_INPUT_VAL & 0x08) != 0)
status |= POWER_INPUT_USB_CHARGER;
/* */
-#elif defined(IPOD_3G)
+#elif defined(IPOD_3G) || defined(IPOD_1G2G)
/* firewire power */
if ((GPIOC_INPUT_VAL & 0x10) == 0)
status = POWER_INPUT_MAIN_CHARGER;