mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 17:41:54 +00:00
32d883ff5346fea8c81bb66d309ce6b349f6d189
The first 3 board id straps stay binary, and the 4th is a tristate, set as Z on all existing boards, so we translate Z=>0, 0=>1, 1=>2. A few examples: Z000 => rev0 (Z=>0 * 8 + 0b000 = 0) Z010 => rev2 (Z=>0 * 8 + 0b010 = 2) Z111 => rev7 (Z=>0 * 8 + 0b111 = 7) 0000 => rev8 (0=>1 * 8 + 0b000 = 8) 1001 => rev17 (1=>2 * 8 + 0b001 = 17) BRANCH=none BUG=b:62242438 TEST=make BOARD=poppy -j, flash, rev0/1/2 shows "Board ID" correctly. Change-Id: Ifde5e1200b19a17a677875b0464775bd1cd8af1f Reviewed-on: https://chromium-review.googlesource.com/522083 Commit-Ready: Nicolas Boichat <drinkcat@chromium.org> Tested-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Furquan Shaikh <furquan@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%