forked from len0rd/rockbox
imx233: move power init to system init
Do low level power init in system_init(). This can be needed since imx233 must be able to frequecy scale atfer system_init() and kernel_init() and this is only possible if power system was initialised. Change-Id: I27c66ec0dccd60bda26a45be24683c0bfe72c6da
This commit is contained in:
parent
f7132e4044
commit
2b1159dda0
3 changed files with 18 additions and 5 deletions
|
@ -177,6 +177,8 @@
|
|||
#define HW_POWER_RESET__UNLOCK 0x3E770000
|
||||
#define HW_POWER_RESET__PWD 0x1
|
||||
|
||||
void imx233_power_init(void);
|
||||
|
||||
void imx233_power_set_charge_current(unsigned current); /* in mA */
|
||||
void imx233_power_set_stop_current(unsigned current); /* in mA */
|
||||
void imx233_power_enable_batadj(bool enable);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue