summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx31/debug-imx31.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-12-21 18:10:36 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-12-21 18:10:36 +0000
commit5667682dd204a07c52f057506fd2eef05bf63f2e (patch)
treea5f4f3cb22751362a9ed7774698ca55d27819d16 /firmware/target/arm/imx31/debug-imx31.c
parentc3c15cce88481a2504eb492ba06b6a691d8e998d (diff)
downloadrockbox-5667682dd204a07c52f057506fd2eef05bf63f2e.tar.gz
rockbox-5667682dd204a07c52f057506fd2eef05bf63f2e.zip
Gigabeat S: Implement charging and power control to charge from AC or USB. Hold MENU while plugging USB cable to charge from USB without connecting. Under Windows, plugging USB for charging only but not connecting still needs to be properly handled (driver popup issue) but it will charge when connected normally-- no issue under Linux. Some accomodating changes made to powermgmt.c will soon be made nicer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19547 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/imx31/debug-imx31.c')
-rw-r--r--firmware/target/arm/imx31/debug-imx31.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/imx31/debug-imx31.c b/firmware/target/arm/imx31/debug-imx31.c
index df2489eafb..b72390cb63 100644
--- a/firmware/target/arm/imx31/debug-imx31.c
+++ b/firmware/target/arm/imx31/debug-imx31.c
@@ -139,6 +139,7 @@ bool __dbg_ports(void)
139 MC13783_INTERRUPT_SENSE0, 139 MC13783_INTERRUPT_SENSE0,
140 MC13783_INTERRUPT_STATUS1, 140 MC13783_INTERRUPT_STATUS1,
141 MC13783_INTERRUPT_SENSE1, 141 MC13783_INTERRUPT_SENSE1,
142 MC13783_CHARGER,
142 MC13783_RTC_TIME, 143 MC13783_RTC_TIME,
143 MC13783_RTC_ALARM, 144 MC13783_RTC_ALARM,
144 MC13783_RTC_DAY, 145 MC13783_RTC_DAY,
@@ -151,6 +152,7 @@ bool __dbg_ports(void)
151 "Int Sense0", 152 "Int Sense0",
152 "Int Stat1 ", 153 "Int Stat1 ",
153 "Int Sense1", 154 "Int Sense1",
155 "Charger ",
154 "RTC Time ", 156 "RTC Time ",
155 "RTC Alarm ", 157 "RTC Alarm ",
156 "RTC Day ", 158 "RTC Day ",