summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233/power-imx233.c
diff options
context:
space:
mode:
authorLorenzo Miori <memorys60@gmail.com>2013-11-15 22:05:40 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2013-12-02 20:48:21 +0100
commit1deab739803ee768e393bba41446450a792b6410 (patch)
tree26b5a121d6a03d2f394aa285ab017b1f317caf37 /firmware/target/arm/imx233/power-imx233.c
parent15155ed10006f84c42bc435e354a16b3f391d55e (diff)
downloadrockbox-1deab739803ee768e393bba41446450a792b6410.tar.gz
rockbox-1deab739803ee768e393bba41446450a792b6410.zip
Initial commit for the YP-Z5 port
The port uses the imx233 soc, it's a STMP3650 based Samsung player Change-Id: I50b6d7e77fd292fab5ed26de87853cd5aaf9eaa4 Reviewed-on: http://gerrit.rockbox.org/490 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
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);