Revert "vboot_logic: Set VB2_CONTEXT_EC_TRUSTED in verstage_main"

This reverts commit 6260bf712a.

Reason for revert: This CL did not handle Intel GPIO correctly. We need
to add GPIO_EC_IN_RW into early_gpio_table for platforms using Intel
SoC.

Signed-off-by: Hsuan Ting Chen <roccochen@chromium.org>
Change-Id: Iaeb1bf598047160f01e33ad0d9d004cad59e3f75
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57951
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Hsuan-ting Chen
2021-10-07 06:21:28 +00:00
committed by Felix Held
parent 82130369a1
commit adb393bdd6
51 changed files with 0 additions and 322 deletions

View File

@@ -306,9 +306,6 @@ void verstage_main(void)
if (CONFIG(TPM_CR50))
check_boot_mode(ctx);
if (get_ec_is_trusted())
ctx->flags |= VB2_CONTEXT_EC_TRUSTED;
/* Do early init (set up secdata and NVRAM, load GBB) */
printk(BIOS_INFO, "Phase 1\n");
rv = vb2api_fw_phase1(ctx);