Joel Kitching has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/37315 )
Change subject: vboot: update VbExNvStorageWrite function ......................................................................
vboot: update VbExNvStorageWrite function
Going forwards, vb2ex_commit_data will be used to flush both nvdata and secdata.
BUG=b:124141368, chromium:1006689 TEST=make clean && make test-abuild BRANCH=none
Change-Id: Ia2612da0df101cd3c46151dbce728633a39fada1 Signed-off-by: Joel Kitching kitching@google.com --- M src/security/vboot/ec_sync.c 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/15/37315/1
diff --git a/src/security/vboot/ec_sync.c b/src/security/vboot/ec_sync.c index c2a6b25..8a3ba71 100644 --- a/src/security/vboot/ec_sync.c +++ b/src/security/vboot/ec_sync.c @@ -399,9 +399,9 @@ /* * Write opaque data into NV storage region. */ -vb2_error_t VbExNvStorageWrite(const uint8_t *buf) +vb2_error_t vb2ex_commit_data(struct vb2_context *ctx) { - save_vbnv(buf); + save_vbnv(ctx->nvdata); return VB2_SUCCESS; }