summaryrefslogtreecommitdiff
path: root/src/security
diff options
context:
space:
mode:
Diffstat (limited to 'src/security')
-rw-r--r--src/security/vboot/vbnv.h4
-rw-r--r--src/security/vboot/vbnv_cmos.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/security/vboot/vbnv.h b/src/security/vboot/vbnv.h
index 7d288d5773..12b939986b 100644
--- a/src/security/vboot/vbnv.h
+++ b/src/security/vboot/vbnv.h
@@ -33,10 +33,10 @@ void vbnv_init(uint8_t *vbnv_copy);
void vbnv_reset(uint8_t *vbnv_copy);
/* CMOS backend */
-/* Initialize the vbnv cmos backing store. The vbnv_copy pointer is used for
+/* Initialize the vbnv CMOS backing store. The vbnv_copy pointer is used for
optional temporary storage in the init function. */
void vbnv_init_cmos(uint8_t *vbnv_copy);
-/* Return non-zero if cmos power was lost. */
+/* Return non-zero if CMOS power was lost. */
int vbnv_cmos_failed(void);
void read_vbnv_cmos(uint8_t *vbnv_copy);
void save_vbnv_cmos(const uint8_t *vbnv_copy);
diff --git a/src/security/vboot/vbnv_cmos.c b/src/security/vboot/vbnv_cmos.c
index 7758ef6198..fe5d6ce922 100644
--- a/src/security/vboot/vbnv_cmos.c
+++ b/src/security/vboot/vbnv_cmos.c
@@ -81,13 +81,13 @@ void save_vbnv_cmos(const uint8_t *vbnv_copy)
void vbnv_init_cmos(uint8_t *vbnv_copy)
{
- /* If no cmos failure just defer to the normal read path for checking
+ /* If no CMOS failure just defer to the normal read path for checking
vbnv contents' integrity. */
if (!vbnv_cmos_failed())
return;
- /* In the case of cmos failure force the backup. If backup wasn't used
- force the vbnv cmos to be reset. */
+ /* In the case of CMOS failure force the backup. If backup wasn't used
+ force the vbnv CMOS to be reset. */
if (!restore_from_backup(vbnv_copy)) {
vbnv_reset(vbnv_copy);
/* This parallels the vboot_reference implementation. */