diff options
Diffstat (limited to 'firmware/include/vboot_api.h')
-rw-r--r-- | firmware/include/vboot_api.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/firmware/include/vboot_api.h b/firmware/include/vboot_api.h index 18ee4cc1..ff858acb 100644 --- a/firmware/include/vboot_api.h +++ b/firmware/include/vboot_api.h @@ -925,6 +925,19 @@ VbError_t VbExEcProtectRW(int devidx); enum VbEcBootMode_t {VB_EC_NORMAL, VB_EC_DEVELOPER, VB_EC_RECOVERY }; VbError_t VbExEcEnteringMode(int devidx, enum VbEcBootMode_t mode); +/** + * Perform EC post-verification / updating / jumping actions. + * + * This routine is called to perform certain actions that must wait until + * after the EC resides in its `final` image (the image the EC will + * run for the duration of boot). These actions include verifying that + * enough power is available to continue with boot. + * + * @param in_recovery 1 if recovery mode is selected by the AP, 0 otherwise. + * @return VBERROR_... error, VBERROR_SUCCESS on success. + */ +VbError_t VbExEcVbootDone(int in_recovery); + /*****************************************************************************/ /* Misc */ |