diff options
-rw-r--r-- | firmware/lib/include/vboot_kernel.h | 13 | ||||
-rw-r--r-- | firmware/lib/vboot_api_kernel.c | 7 |
2 files changed, 0 insertions, 20 deletions
diff --git a/firmware/lib/include/vboot_kernel.h b/firmware/lib/include/vboot_kernel.h index 88e3df7c..2f1be5be 100644 --- a/firmware/lib/include/vboot_kernel.h +++ b/firmware/lib/include/vboot_kernel.h @@ -71,17 +71,4 @@ VbError_t VbBootRecovery(VbCommonParams *cparams, LoadKernelParams *p); */ VbError_t VbEcSoftwareSync(int devidx, VbCommonParams *cparams); -/** - * 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(void); - #endif /* VBOOT_REFERENCE_VBOOT_KERNEL_H_ */ diff --git a/firmware/lib/vboot_api_kernel.c b/firmware/lib/vboot_api_kernel.c index 8750f670..312014bd 100644 --- a/firmware/lib/vboot_api_kernel.c +++ b/firmware/lib/vboot_api_kernel.c @@ -1031,13 +1031,6 @@ VbError_t VbSelectAndLoadKernel(VbCommonParams *cparams, } } - /* If not in recovery mode, check whether EC wants to boot or not */ - if (!shared->recovery_reason) { - retval = VbExEcVbootDone(); - if (retval) - goto VbSelectAndLoadKernel_exit; - } - /* Read kernel version from the TPM. Ignore errors in recovery mode. */ tpm_status = RollbackKernelRead(&shared->kernel_version_tpm); if (0 != tpm_status) { |