summaryrefslogtreecommitdiff
path: root/src/security/vboot
diff options
context:
space:
mode:
Diffstat (limited to 'src/security/vboot')
-rw-r--r--src/security/vboot/ec_sync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/security/vboot/ec_sync.c b/src/security/vboot/ec_sync.c
index c2a6b25f90..8a3ba71d75 100644
--- a/src/security/vboot/ec_sync.c
+++ b/src/security/vboot/ec_sync.c
@@ -399,9 +399,9 @@ vb2_error_t VbExDisplayScreen(uint32_t screen_type, uint32_t locale,
/*
* 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;
}