summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-08-22 23:43:25 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-08-22 23:43:25 +0200
commit96125e84f1d45393bfd50a1b58d4a0950c46e0bc (patch)
tree74509172bd0cbc9e539c2d78e344156e891178d0 /firmware/target/arm/imx233
parentfb35f06bf5812a3256b7313b78d39e8fec112fe8 (diff)
downloadrockbox-96125e84f1d45393bfd50a1b58d4a0950c46e0bc.tar.gz
rockbox-96125e84f1d45393bfd50a1b58d4a0950c46e0bc.zip
imx233: disable half fets on boot
This might cause freeze if the power supply is not able to cope with the demand Change-Id: I231142327fcad2096c18d3c8872ac8b6ee24f69c
Diffstat (limited to 'firmware/target/arm/imx233')
-rw-r--r--firmware/target/arm/imx233/power-imx233.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/power-imx233.c b/firmware/target/arm/imx233/power-imx233.c
index ccbd12b4ef..9972a21e69 100644
--- a/firmware/target/arm/imx233/power-imx233.c
+++ b/firmware/target/arm/imx233/power-imx233.c
@@ -115,6 +115,7 @@ void INT_VDD5V(void)
115 115
116void imx233_power_init(void) 116void imx233_power_init(void)
117{ 117{
118 BF_CLR(POWER_MINPWR, HALF_FETS);
118 /* setup vbusvalid parameters: set threshold to 4v and power up comparators */ 119 /* setup vbusvalid parameters: set threshold to 4v and power up comparators */
119 BF_CLR(POWER_5VCTRL, VBUSVALID_TRSH); 120 BF_CLR(POWER_5VCTRL, VBUSVALID_TRSH);
120 BF_SETV(POWER_5VCTRL, VBUSVALID_TRSH, 1); 121 BF_SETV(POWER_5VCTRL, VBUSVALID_TRSH, 1);