treewide: Capitalize 'CMOS'
Change-Id: I1d36e554618498d70f33f6c425b0abc91d4fb952 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38928 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Peter Lemenkov <lemenkov@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
ebdf298ec2
commit
2119d0ba43
27 changed files with 50 additions and 50 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue