mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 18:25:10 +00:00
recovery: Add new recovery reason to train memory and reboot
This new recovery reason will instruct the calling firmware in vboot_select_and_load_kernel to reboot the device (under the assumption that training of memory has already been performed by the firmware). On seeing the return code VBERROR_REBOOT_REQUESTED, calling firmware should perform a reboot. BUG=chrome-os-partner:59352 BRANCH=None TEST=make -j runtests successful Change-Id: I110a735e612665cb2378bd71ca01a111edaf58e3 Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/407656 Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
6e3931d1f6
commit
95b2d6ca2b
@@ -68,8 +68,8 @@ enum VbErrorPredefined_t {
|
||||
VBERROR_TPM_LOCK_FIRMWARE = 0x10005,
|
||||
/* Unable to set boot mode state in TPM */
|
||||
VBERROR_TPM_SET_BOOT_MODE_STATE = 0x10006,
|
||||
/* TPM requires reboot */
|
||||
VBERROR_TPM_REBOOT_REQUIRED = 0x10007,
|
||||
/* Calling firmware needs to perform a reboot. */
|
||||
VBERROR_REBOOT_REQUIRED = 0x10007,
|
||||
/* Unable to set up TPM */
|
||||
VBERROR_TPM_FIRMWARE_SETUP = 0x10008,
|
||||
/* Unable to read kernel versions from TPM */
|
||||
|
||||
Reference in New Issue
Block a user