summaryrefslogtreecommitdiff
path: root/firmware/2lib/include/2nvstorage.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2014-06-24 13:11:02 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-06-25 01:32:33 +0000
commit8de992c441e36453a5a08bcf7c2462835007f81e (patch)
tree375fa264bd1b48cd3bd45cfd4da69a5519af9f4a /firmware/2lib/include/2nvstorage.h
parentfc17308c39d23fe64959854dc5a858429b37539f (diff)
downloadvboot-8de992c441e36453a5a08bcf7c2462835007f81e.tar.gz
vboot2: fix overloaded NV bit
Bill and I both added meanings for byte 1 bit 0x10. His changed (NV_BOOT_BACKUP_NVRAM) landed first, so move the vboot2 bit to byte 2. BUG=chromium:370082 BRANCH=none TEST=make clean && VBOOT2=1 make runtests Change-Id: Ib7ff8da47d03f91cbeb729ca517c6315dfb4e6ac Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/205408 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'firmware/2lib/include/2nvstorage.h')
-rw-r--r--firmware/2lib/include/2nvstorage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/2lib/include/2nvstorage.h b/firmware/2lib/include/2nvstorage.h
index ec775699..11a77966 100644
--- a/firmware/2lib/include/2nvstorage.h
+++ b/firmware/2lib/include/2nvstorage.h
@@ -68,6 +68,8 @@ enum vb2_nv_param {
VB2_NV_CLEAR_TPM_OWNER_DONE,
/* More details on recovery reason */
VB2_NV_RECOVERY_SUBCODE,
+ /* Request that NVRAM be backed up at next boot if possible. */
+ VB2_NV_BACKUP_NVRAM_REQUEST,
/* Firmware slot tried this boot (0=A, 1=B) */
VB2_NV_FW_TRIED,
/* Result of trying that firmware (see vb2_fw_result) */