mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-31 02:51:26 +00:00
5479dcbbc515482494fc6e4bbce2124c428b1f2a
Add the robust non-volatile counter provided by CONFIG_FLASH_NVCOUNTER in order to support the U2F implementation. The counter implementation needs 2 (raw) pages of flash for its underlying storage. In order to try to avoid disrupting the existing machines by invalidating the nvmem if we touch its mapping, those pages are placed in each RW between the code/read-only and the read-write nvmem area by shrinking the code/read-only by one page, so the nvmem mapping should be untouched. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=cr50 BUG=b:35545754 TEST=with follow-up CLs, run U2FTest on Eve. Change-Id: Ib3d7dcb9a1b13cff74b56461332937e3a4cc9ae1 Reviewed-on: https://chromium-review.googlesource.com/518137 Commit-Ready: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@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%