diff options
author | Vijay Hiremath <vijay.p.hiremath@intel.com> | 2018-06-20 14:07:41 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-07-03 18:18:22 -0700 |
commit | 9b3ab01f0f09cf010bad4838735606f378a98eb4 (patch) | |
tree | ce99e1ecbe7ff15a983ba5f39bdb4e412b94ced5 /README.fmap | |
parent | 9431a997aaa195e81d3e1a96ef484dcbcfa9803f (diff) | |
download | chrome-ec-9b3ab01f0f09cf010bad4838735606f378a98eb4.tar.gz |
octopus: Fix booting to OS from shipmode
If the battery is booting from shipmode, it cannot provide power
hence check for the battery revive state and do not disable charge
ports instead assume the power source port as dedicated charge port
and remain in charge manager safe mode till the battery is
initialized and able to provide power.
1. Remove custom battery hardware present logic:
In case of booting from battery shipmode, though battery is
physically present it cannot provide power hence we need to prevent
auto-power on till the negotiated power is >=
CONFIG_CHARGER_MIN_POWER_MW_FOR_POWER_ON hence removed the custom
h/w present logic
2. Remove custom battery present logic
As we are using battery revive logic to remain in charge manager
safe mode till the battery is initialized, enabled logic to use the
physical battery GPIO for battery detection and removed the custom
battery present logic.
BUG=b:80299100, b:74427009, b:110438520
BRANCH=none
TEST=Manually tested on BIP
1. Battery can revive from shipmode
2. DUT can boot to S0 when no battery connected and from
shipmode battery, without pressing the power button
3. Deeply discharged battery is recovered and DUT booted
to OS without pressing the power button
Change-Id: I75378d5d70d07cea13ec775188ce17cb8fe9d9ae
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/1109443
Commit-Ready: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Tested-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'README.fmap')
0 files changed, 0 insertions, 0 deletions