mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 17:11:42 +00:00
3b997a8d16179bbd8770f38337c531222c597638
There is no need to invalidate the inactive RW image if it's already been done. Check the magic area of the header and if already 0s, then set *response_size and return VENDOR_RC_SUCCESS. BUG=chrome-os-partner:62588 BRANCH=none TEST=manual Update H1 FW on Eve. Using 'ver' command verify that it has valid A/B RW images. Log into chromeos and see console messages indicating that inactive image is being invalidated and via 'ver' command. Reboot via H1 console and see that this time the message vc_invalidate_inactive_rw: Inactive region already corrupted is displayed. Change-Id: I0894d456fdc63f64fc7272ad55d75ba94dbe94c4 Signed-off-by: Scott <scollyer@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/438787 Commit-Ready: Scott Collyer <scollyer@chromium.org> Tested-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@google.com>
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%