summaryrefslogtreecommitdiff
path: root/src/vboot/vbnv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vboot/vbnv.c')
-rw-r--r--src/vboot/vbnv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vboot/vbnv.c b/src/vboot/vbnv.c
index 6667825f46..3eaa0ad4b2 100644
--- a/src/vboot/vbnv.c
+++ b/src/vboot/vbnv.c
@@ -58,7 +58,7 @@ static uint8_t crc8_vbnv(const uint8_t *data, int len)
return (uint8_t) (crc >> 8);
}
-static void reset_vbnv(uint8_t *vbnv_copy)
+void vbnv_reset(uint8_t *vbnv_copy)
{
memset(vbnv_copy, 0, VBOOT_VBNV_BLOCK_SIZE);
}
@@ -100,7 +100,7 @@ void read_vbnv(uint8_t *vbnv_copy)
/* Check data for consistency */
if (!verify_vbnv(vbnv_copy))
- reset_vbnv(vbnv_copy);
+ vbnv_reset(vbnv_copy);
}
/*