mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-15 00:56:22 +00:00
ed13cb82b64732132db6007320325b3bc51dcee2
system_rollback_detected is used to determine if the system rolledback in the rest of the system code base and it's state is saved longer. This change switches board.c to use that to determine the sysinfo output instead of using the reset count. The reset count is cleared when the system boots. Depending on how fast the system boots it may be difficult to read sysinfo before the reset counter is cleared. In these cases it is difficult to tell whether an image has been rejected entirely or the image caused a rollback. BUG=b:71804463 BRANCH=cr50 TEST=boot the device. Make sure sysinfo shows there's no rollback. Rollback and make sure sysinfo shows the system has rolledback Change-Id: Ic29b105c758d0984e47482b9384cf00fe202b716 Signed-off-by: Mary Ruthven <mruthven@google.com> Reviewed-on: https://chromium-review.googlesource.com/984393 Commit-Ready: Mary Ruthven <mruthven@chromium.org> Tested-by: Mary Ruthven <mruthven@chromium.org> Reviewed-by: Randall Spangler <rspangler@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%