mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-16 10:01:27 +00:00
7dc83bed4893cb48fb79782439d4b0b5e94aca66
pd_get/set_saved_active() made the assumption that there were only two ports. But now, we have a board that turned that port count all the way up to 3. This commit adds in that new port BBRAM index. It also turns the byte where the port information was stored into a byte of flags, where bit 0 indicates whether there was an explicit contract in place or not. BUG=b:72838807 BRANCH=None TEST=With some code to check for explicit contract state for port 2, verify it's functional. Change-Id: I6f062f67bd3c47dd43ea7e24e844a9286fa37af9 Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/905923 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Jett Rink <jettrink@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 For instructions on building from source, refer to http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%