mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-29 10:00:51 +00:00
6cfc7a68aee5901f74a73acf900170d003ed7a4e
Enable check for protected mode. If we are in RO and we are write protected, then don't allow PD communication. BUG=chrome-os-partner:31125 BRANCH=none TEST=Booted with and without battery, made sure PD communication works and we can boot (note we are currently not protected). Then commnented out CONFIG_SYSTEM_UNLOCKED, and ran flashwp enable from PD console to protect the system. Now when boot with battery, we don't communicate over PD and just take VBUS 5V. Removed battery and attempted to boot with just AC, but not enough power to boot off just 5V. EC goes to S0 and back to G3 after about 100ms. Change-Id: Ib26f8f0f5e9134d0337ebbd7f087f50fa41842d8 Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/213738 Reviewed-by: Duncan Laurie <dlaurie@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%