diff options
Diffstat (limited to 'firmware/target/arm/imx233/power-imx233.c')
-rw-r--r-- | firmware/target/arm/imx233/power-imx233.c | 6 |
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 | ||
84 | void power_init(void) | 84 | void 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 | ||
113 | void power_init(void) | ||
114 | { | ||
115 | } | ||
116 | |||
113 | void power_off(void) | 117 | void 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 */ |