summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233/power-imx233.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx233/power-imx233.c')
-rw-r--r--firmware/target/arm/imx233/power-imx233.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/power-imx233.c b/firmware/target/arm/imx233/power-imx233.c
index af333dea59..9ad8734823 100644
--- a/firmware/target/arm/imx233/power-imx233.c
+++ b/firmware/target/arm/imx233/power-imx233.c
@@ -137,6 +137,8 @@ void imx233_power_init(void)
137#endif 137#endif
138 /* enable vbusvalid detection method for the dcdc (improves efficiency) */ 138 /* enable vbusvalid detection method for the dcdc (improves efficiency) */
139 BF_SET(POWER_5VCTRL, VBUSVALID_5VDETECT); 139 BF_SET(POWER_5VCTRL, VBUSVALID_5VDETECT);
140 /* disable shutdown on 5V fail */
141 BF_CLR(POWER_5VCTRL, PWDN_5VBRNOUT);
140#ifdef USE_VBUSVALID 142#ifdef USE_VBUSVALID
141 /* make sure VBUSVALID is unlocked */ 143 /* make sure VBUSVALID is unlocked */
142 BF_CLR(POWER_DEBUG, VBUSVALIDPIOLOCK); 144 BF_CLR(POWER_DEBUG, VBUSVALIDPIOLOCK);