mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 17:11:42 +00:00
This patch locks the ec. This also locks PD communication until sysjump to RW. We don't want to allow communication to outside world until we jump to RW. This can by overridden with the removal of the write protect screw to allow for easier testing. Electro doesn't operate on 15w power normally but 15w is enough for recovery process. BUG=chrome-os-partner:62487,chrome-os-partner:61801 BRANCH=none TEST=flash -p ec --wp-enable. Boot, shutdown, suspend, resume, & charge Electro. Run recovery process with battery 2% charged and a charger on port 0. Change-Id: I634291c00eb471e24ed2b06444302d9e2e42bbc8 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/435005 Reviewed-by: Aaron Durbin <adurbin@chromium.org>