Naresh Solanki (naresh.solanki@intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17246
-gerrit
commit 7aa4bb3ea746754b51762c4eba789a43c861884f Author: Naresh G Solanki naresh.solanki@intel.com Date: Sun Nov 6 12:51:14 2016 +0530
vboot: No 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.
Change-Id: I665f5f0e2e53da7b735de30443d323572d8a1a9c Signed-off-by: Naresh G Solanki naresh.solanki@intel.com --- src/vboot/vboot_logic.c | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/src/vboot/vboot_logic.c b/src/vboot/vboot_logic.c index bc6ab48..e565cb6 100644 --- a/src/vboot/vboot_logic.c +++ b/src/vboot/vboot_logic.c @@ -119,6 +119,12 @@ static int handle_digest_result(void *slot_hash, size_t slot_hash_sz) int is_resume;
/* + * 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. */