summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233/powermgmt-imx233.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-11-18 20:07:02 +0000
committerAmaury Pouly <amaury.pouly@gmail.com>2013-11-18 21:44:06 +0000
commit977a6c3ce7a2ab960590e9d997388cca2e4c29ee (patch)
tree092ef21d5f2123fee784de7d1ee719270c30c6de /firmware/target/arm/imx233/powermgmt-imx233.c
parenta8b816ae9cc00fe216e43d9bd9276b5d8cf12b25 (diff)
downloadrockbox-977a6c3ce7a2ab960590e9d997388cca2e4c29ee.tar.gz
rockbox-977a6c3ce7a2ab960590e9d997388cca2e4c29ee.zip
Initial commit for the Creative ZEN V
Change-Id: I3408cfdf742ea5995d5c87bf76653f436e1ec2b0
Diffstat (limited to 'firmware/target/arm/imx233/powermgmt-imx233.c')
-rw-r--r--firmware/target/arm/imx233/powermgmt-imx233.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/powermgmt-imx233.c b/firmware/target/arm/imx233/powermgmt-imx233.c
index 9819406974..895c91dda2 100644
--- a/firmware/target/arm/imx233/powermgmt-imx233.c
+++ b/firmware/target/arm/imx233/powermgmt-imx233.c
@@ -48,9 +48,9 @@ void imx233_powermgmt_init(void)
48{ 48{
49 imx233_power_set_charge_current(IMX233_CHARGE_CURRENT); 49 imx233_power_set_charge_current(IMX233_CHARGE_CURRENT);
50 imx233_power_set_stop_current(IMX233_STOP_CURRENT); 50 imx233_power_set_stop_current(IMX233_STOP_CURRENT);
51#if IMX233_SUBTARGET >= 3700
51 /* assume that adc_init was called and battery monitoring via LRADC setup */ 52 /* assume that adc_init was called and battery monitoring via LRADC setup */
52 BF_WR(POWER_BATTMONITOR, EN_BATADJ, 1); 53 BF_WR(POWER_BATTMONITOR, EN_BATADJ, 1);
53#if IMX233_SUBTARGET >= 3700
54 /* setup linear regulator offsets to 25 mV below to prevent contention between 54 /* setup linear regulator offsets to 25 mV below to prevent contention between
55 * linear regulators and DCDC */ 55 * linear regulators and DCDC */
56 BF_WR(POWER_VDDDCTRL, LINREG_OFFSET, 2); 56 BF_WR(POWER_VDDDCTRL, LINREG_OFFSET, 2);