mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-25 02:35:22 +00:00
Modify EC software sync to update RO if necessary
Allow the AP to sync and verify the EC read only image after updating the rewritable image. BUG=chrome-os-partner:48703 BRANCH=none TEST=manual 1. Update EC to a new version 2. rebuild EC code 3. Update AP firmware 4. Reboot and check that the RO image is updated after the RW image is updated. CQ-DEPEND=CL:319213 Change-Id: I774ef25320103f20d8c7d1c180a220dd0819c04d Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/320614 Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
@@ -120,9 +120,11 @@ enum VbErrorPredefined_t {
|
||||
VBERROR_UNSUPPORTED_REGION = 0x10025,
|
||||
/* No image present (returned from VbGbbReadImage() for missing image) */
|
||||
VBERROR_NO_IMAGE_PRESENT = 0x10026,
|
||||
|
||||
/* failed to draw screen */
|
||||
VBERROR_SCREEN_DRAW = 0x10027,
|
||||
/* failed to jump to RW image */
|
||||
VBERROR_RW_JUMP_FAILED = 0x10028,
|
||||
|
||||
/* VbExEcGetExpectedRWHash() may return the following codes */
|
||||
/* Compute expected RW hash from the EC image; BIOS doesn't have it */
|
||||
VBERROR_EC_GET_EXPECTED_HASH_FROM_IMAGE = 0x20000,
|
||||
|
||||
Reference in New Issue
Block a user