mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-15 20:37:33 +00:00
VbExEcGetExpectedRW() should take a const **
Since vboot is expected not to modify the contents of the returned pointer. BUG=chrome-os-partner:11148 TEST=if it builds, it worked This change MUST be submitted at the same time as u-boot https://gerrit.chromium.org/gerrit/28146. Change-Id: Ieeee8f456a7fbd9fe6b108a29e208058310b471b Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/28145 Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bill Richardson <wfrichar@chromium.org>
This commit is contained in:
@@ -638,8 +638,8 @@ VbError_t VbExEcHashRW(const uint8_t **hash, int *hash_size);
|
||||
|
||||
/* Get the expected contents of the EC image associated with the main firmware
|
||||
* specified by the "select" argument. */
|
||||
VbError_t VbExEcGetExpectedRW(enum VbSelectFirmware_t select, uint8_t **image,
|
||||
int *image_size);
|
||||
VbError_t VbExEcGetExpectedRW(enum VbSelectFirmware_t select,
|
||||
const uint8_t **image, int *image_size);
|
||||
|
||||
/* Update the EC rewritable image. */
|
||||
VbError_t VbExEcUpdateRW(const uint8_t *image, int image_size);
|
||||
|
||||
Reference in New Issue
Block a user