mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: vboot: Disable vboot verification when Chrome EC disabled
When Chrome EC is disabled, vboot hash is not available during S3 resume Hence disable vboot verification when Chrome EC is not available. BUG=None BRANCH=None TEST=None Signed-off-by: Naresh G Solanki <naresh.solanki@intel.com> Reviewed-on: https://review.coreboot.org/17246 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com> Change-Id: I665f5f0e2e53da7b735de30443d323572d8a1a9c Reviewed-on: https://chromium-review.googlesource.com/408959 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
1024a27516
commit
c6c023c60d
1 changed files with 7 additions and 0 deletions
|
@ -118,6 +118,13 @@ static int handle_digest_result(void *slot_hash, size_t slot_hash_sz)
|
|||
{
|
||||
int is_resume;
|
||||
|
||||
/*
|
||||
* Chrome EC is the only support for vboot_save_hash()/vboot_retrieve_hash(), if Chrome EC
|
||||
* is not enabled then return.
|
||||
*/
|
||||
if (!IS_ENABLED(CONFIG_EC_GOOGLE_CHROMEEC))
|
||||
return 0;
|
||||
|
||||
/*
|
||||
* Nothing to do since resuming on the platform doesn't require
|
||||
* vboot verification again.
|
||||
|
|
Loading…
Add table
Reference in a new issue