imx233: fix red on stmp3600

Change-Id: I56527f2d643cb3c453e08cd1f759b80ce10ceb66
This commit is contained in:
Amaury Pouly 2013-12-02 19:59:16 +01:00
parent 3f55f01e92
commit 9dab30adf0

View file

@ -97,6 +97,7 @@ void powermgmt_init_target(void)
void charging_algorithm_step(void)
{
#if IMX233_SUBTARGET >= 3700
bool is_5v_present = usb_detect() == USB_INSERTED;
/* initial state & 5v -> battery transition */
@ -185,6 +186,7 @@ void charging_algorithm_step(void)
BF_SET(POWER_CHARGE, PWD_BATTCHRG);
charge_state = CHARGE_STATE_DISABLED;
}
#endif
}
void charging_algorithm_close(void)