forked from len0rd/rockbox
ErosQ Native: Make power delay bootloader-only
gotta go fast Change-Id: Ic01e4aa70a2bec4c48ae7cf8f32f8dfd366decad
This commit is contained in:
parent
7aa2a23b95
commit
de285741bf
1 changed files with 2 additions and 0 deletions
|
|
@ -83,11 +83,13 @@ void power_init(void)
|
||||||
* OF's setting, although it's not strictly within the USB spec. */
|
* OF's setting, although it's not strictly within the USB spec. */
|
||||||
axp_set_charge_current(780);
|
axp_set_charge_current(780);
|
||||||
|
|
||||||
|
#ifdef BOOTLOADER
|
||||||
/* Delay to give power outputs time to stabilize.
|
/* Delay to give power outputs time to stabilize.
|
||||||
* With the power thread delay, this can apparently go as low as 50,
|
* With the power thread delay, this can apparently go as low as 50,
|
||||||
* Keeping a higher value here just to ensure the bootloader works
|
* Keeping a higher value here just to ensure the bootloader works
|
||||||
* correctly. */
|
* correctly. */
|
||||||
mdelay(200);
|
mdelay(200);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_USB_CHARGING_ENABLE
|
#ifdef HAVE_USB_CHARGING_ENABLE
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue