[coreboot-gerrit] Patch set updated for coreboot: vboot: No vboot verification when Chrome EC disabled
Naresh Solanki (naresh.solanki@intel.com)
gerrit at coreboot.org
Mon Nov 7 18:05:59 CET 2016
Naresh Solanki (naresh.solanki at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17246
-gerrit
commit 2b32198badb3bbdb69622bee02420410c2884163
Author: Naresh G Solanki <naresh.solanki at 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 at intel.com>
---
src/vboot/vboot_logic.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/vboot/vboot_logic.c b/src/vboot/vboot_logic.c
index bc6ab48..41896e1 100644
--- a/src/vboot/vboot_logic.c
+++ b/src/vboot/vboot_logic.c
@@ -119,6 +119,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.
*/
More information about the coreboot-gerrit
mailing list