summaryrefslogtreecommitdiff
path: root/src/security/vboot/vbnv_cmos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/security/vboot/vbnv_cmos.c')
-rw-r--r--src/security/vboot/vbnv_cmos.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/security/vboot/vbnv_cmos.c b/src/security/vboot/vbnv_cmos.c
index 35e4c410da..5073509fc9 100644
--- a/src/security/vboot/vbnv_cmos.c
+++ b/src/security/vboot/vbnv_cmos.c
@@ -67,8 +67,14 @@ void save_vbnv_cmos(const uint8_t *vbnv_copy)
cmos_write(vbnv_copy[i], CONFIG_VBOOT_VBNV_OFFSET + 14 + i);
}
+void __weak vbnv_platform_init_cmos(void)
+{
+}
+
void vbnv_init_cmos(uint8_t *vbnv_copy)
{
+ vbnv_platform_init_cmos();
+
/* If no CMOS failure just defer to the normal read path for checking
vbnv contents' integrity. */
if (!vbnv_cmos_failed())