mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-01 21:02:27 +00:00
eb3dee374e751357d27da1b3610b1be29a0cd717
Add back in sending hard reset on board fault. BUG=none BRANCH=none TEST=Using zinger and firefly, create an overvoltage error by down stepping with a 0 VOLTAGE_DOWN_STEP_TIME, and make sure that a hard reset is received by firefly and that we re-establish negotiation after the OVP fault is cleared. Also tested with zinger and samus. On samus I set the input current to 3.5A, which immediately triggers an OCP, and verified that we get a HARD RESET from zinger and that after the reset we negotiate correctly and get back to normal (note that when VBUS goes down, the EC resets the input current limit to default 2A, so that's why we don't continue getting OCP). Change-Id: I991b15411c4ce05c1086851b1e2e56e2effab749 Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/209865 Reviewed-by: Vic Yang <victoryang@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%