google/chromeos: backup -> back up

See discussion on https://review.coreboot.org/13600 and
https://review.coreboot.org/13601

Change-Id: Ia8274b0b296d6b398f75c0d91a6fded4c5f57e10
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: https://review.coreboot.org/13643
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
Patrick Georgi 2016-02-09 14:01:08 +01:00 committed by Patrick Georgi
parent aaa3b4a0d7
commit 6b881b24a3
2 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ config CHROMEOS_VBNV_CMOS
VBNV is stored in CMOS VBNV is stored in CMOS
config CHROMEOS_VBNV_CMOS_BACKUP_TO_FLASH config CHROMEOS_VBNV_CMOS_BACKUP_TO_FLASH
bool "Backup Vboot non-volatile storage from CMOS to flash." bool "Back up Vboot non-volatile storage from CMOS to flash."
default n default n
depends on CHROMEOS_VBNV_CMOS depends on CHROMEOS_VBNV_CMOS
help help

View File

@ -52,7 +52,7 @@ void save_vbnv_cmos(const uint8_t *vbnv_copy)
} }
#if IS_ENABLED(CONFIG_CHROMEOS_VBNV_CMOS_BACKUP_TO_FLASH) #if IS_ENABLED(CONFIG_CHROMEOS_VBNV_CMOS_BACKUP_TO_FLASH)
static void backup_vbnv_cmos(void *unused) static void back_up_vbnv_cmos(void *unused)
{ {
uint8_t vbnv_cmos[VBNV_BLOCK_SIZE]; uint8_t vbnv_cmos[VBNV_BLOCK_SIZE];
@ -62,5 +62,5 @@ static void backup_vbnv_cmos(void *unused)
/* Save to flash, will only be saved if different. */ /* Save to flash, will only be saved if different. */
save_vbnv_flash(vbnv_cmos); save_vbnv_flash(vbnv_cmos);
} }
BOOT_STATE_INIT_ENTRY(BS_POST_DEVICE, BS_ON_EXIT, backup_vbnv_cmos, NULL); BOOT_STATE_INIT_ENTRY(BS_POST_DEVICE, BS_ON_EXIT, back_up_vbnv_cmos, NULL);
#endif #endif