diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2016-05-02 21:49:13 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2016-05-28 16:21:03 +0100 |
commit | 941ac165d864ccdd4e4ae870366f4e0a6bc30055 (patch) | |
tree | d0030c16f10321833f383baafaf3b78610951526 /firmware/target/arm/imx233/debug-imx233.c | |
parent | d245b7a2a1113b6dbdbfb10f5ee984a00c987844 (diff) | |
download | rockbox-941ac165d864ccdd4e4ae870366f4e0a6bc30055.tar.gz rockbox-941ac165d864ccdd4e4ae870366f4e0a6bc30055.zip |
imx233: speedup charging trickle phase
Per Freescale recommandation, we need to ramp up the 4.2V rail before enabling
charging. Ramping should be done at 1 step/10ms, but the old code did 1 step/1s
because the powermgmt_step() function is called once every second. Use a tick
task to ramp up much faster.
Change-Id: I9a52bdd0c2ba5426d83ed42db8db7ecce2fea1f7
Diffstat (limited to 'firmware/target/arm/imx233/debug-imx233.c')
-rw-r--r-- | firmware/target/arm/imx233/debug-imx233.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/debug-imx233.c b/firmware/target/arm/imx233/debug-imx233.c index fa913a9532..c1820c8fe2 100644 --- a/firmware/target/arm/imx233/debug-imx233.c +++ b/firmware/target/arm/imx233/debug-imx233.c | |||
@@ -407,7 +407,6 @@ bool dbg_hw_info_powermgmt(void) | |||
407 | "<unknown>"); | 407 | "<unknown>"); |
408 | lcd_putsf(0, 1, "charging tmo: %d", info.charging_timeout); | 408 | lcd_putsf(0, 1, "charging tmo: %d", info.charging_timeout); |
409 | lcd_putsf(0, 2, "topoff tmo: %d", info.topoff_timeout); | 409 | lcd_putsf(0, 2, "topoff tmo: %d", info.topoff_timeout); |
410 | lcd_putsf(0, 3, "4p2ilimit tmo: %d", info.incr_4p2_ilimit_timeout); | ||
411 | 410 | ||
412 | lcd_update(); | 411 | lcd_update(); |
413 | yield(); | 412 | yield(); |