mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-25 02:35:22 +00:00
Cleanup and preparation for inside-wrapper TPM refactoring.
Add recovery reason for already in recovery and need to reboot to recovery to let the TPM init. Add vboot_struct fields. Fix type for keyblock flags param to SetTPMBootModeState(). BUG=none TEST=make && make runtests Change-Id: I4035bdb377aaebaca03a43799be57977166da739 Reviewed-on: http://gerrit.chromium.org/gerrit/4599 Reviewed-by: Bill Richardson <wfrichar@chromium.org> Tested-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
@@ -91,6 +91,9 @@ typedef enum VbNvParam {
|
||||
/* Firmware boot failure outside of verified boot (RAM init, missing SSD,
|
||||
* etc.). */
|
||||
#define VBNV_RECOVERY_RO_FIRMWARE 0x20
|
||||
/* Recovery mode TPM initialization requires a system reboot. The system was
|
||||
* already in recovery mode for some other reason when this happened. */
|
||||
#define VBNV_RECOVERY_RO_TPM_REBOOT 0x21
|
||||
/* Unspecified/unknown error in read-only firmware */
|
||||
#define VBNV_RECOVERY_RO_UNSPECIFIED 0x3F
|
||||
/* User manually requested recovery by pressing a key at developer
|
||||
|
||||
Reference in New Issue
Block a user