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.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/power-imx233.c b/firmware/target/arm/imx233/power-imx233.c
index 186256f7b8..49323f6ffd 100644
--- a/firmware/target/arm/imx233/power-imx233.c
+++ b/firmware/target/arm/imx233/power-imx233.c
@@ -81,7 +81,7 @@ void INT_VDD5V(void)
81 } 81 }
82} 82}
83 83
84void power_init(void) 84void imx233_power_init(void)
85{ 85{
86 /* setup vbusvalid parameters: set threshold to 4v and power up comparators */ 86 /* setup vbusvalid parameters: set threshold to 4v and power up comparators */
87 __REG_CLR(HW_POWER_5VCTRL) = HW_POWER_5VCTRL__VBUSVALID_TRSH_BM; 87 __REG_CLR(HW_POWER_5VCTRL) = HW_POWER_5VCTRL__VBUSVALID_TRSH_BM;
@@ -110,6 +110,10 @@ void power_init(void)
110 __FIELD_SET(HW_POWER_LOOPCTRL, EN_RCSCALE, HW_POWER_LOOPCTRL__EN_RCSCALE__2X); 110 __FIELD_SET(HW_POWER_LOOPCTRL, EN_RCSCALE, HW_POWER_LOOPCTRL__EN_RCSCALE__2X);
111} 111}
112 112
113void power_init(void)
114{
115}
116
113void power_off(void) 117void power_off(void)
114{ 118{
115 /* wait a bit, useful for the user to stop touching anything */ 119 /* wait a bit, useful for the user to stop touching anything */