[coreboot-gerrit] New patch to review for coreboot: vboot: No vboot verification when Chrome EC disabled

Naresh Solanki (naresh.solanki@intel.com) gerrit at coreboot.org
Sun Nov 6 10:19:06 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 a38eaa1284d240460764f77bc5532ef10612ae4b
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 disbale 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 | 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.
 	 */



More information about the coreboot-gerrit mailing list