coreboot-kgpe-d16/src/security/vboot
Tim Wawrzynczak 14dd073e80 EC sync: Properly handle VBERROR return codes from vb2api_ec_sync
Some return codes were missed when implementing this initially; the vboot
logic can require the system to command the EC to reboot to its RO, switch
RW slots or it can require a poweroff of the SoC.  This patch appropriately
handles these return codes.

BUG=b:145768046
BRANCH=firmware-hatch-12672.B
TEST=ODM verified this patch fixes the issues seen.

Change-Id: I2748cf626d49c255cb0274cb336b072dcdf8cded
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37562
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2019-12-09 09:39:29 +00:00
..
antirollback.h security/vboot: Add Support for Intel PTT 2019-08-06 12:07:49 +00:00
bootmode.c security/vboot: Remove selected_region from struct vboot_working_data 2019-11-20 13:26:17 +00:00
common.c lib/coreboot_table: Add CBMEM_ID_VBOOT_WORKBUF pointer to coreboot table 2019-12-02 13:00:45 +00:00
ec_sync.c EC sync: Properly handle VBERROR return codes from vb2api_ec_sync 2019-12-09 09:39:29 +00:00
Kconfig Kconfig: Drop the C_ENVIRONMENT_BOOTBLOCK symbol 2019-11-25 09:17:38 +00:00
Makefile.inc security/vboot: Use persistent context to read GBB flags 2019-11-28 07:03:20 +00:00
misc.h lib/coreboot_table: Add CBMEM_ID_VBOOT_WORKBUF pointer to coreboot table 2019-12-02 13:00:45 +00:00
mrc_cache_hash_tpm.c
secdata_mock.c vboot: update vboot2 functions to use new vb2_error_t 2019-08-21 09:32:45 +00:00
secdata_tpm.c vboot: Clear secdata change flags after factory init 2019-12-06 05:23:33 +00:00
symbols.h security/tpm: Fix TCPA log feature 2019-03-07 12:47:01 +00:00
tpm_common.c vboot: extend BOOT_MODE_PCR to SHA256 bank on TPM2 2019-09-21 01:13:54 +00:00
tpm_common.h vboot: update vboot2 functions to use new vb2_error_t 2019-08-21 09:32:45 +00:00
vbnv.c security/vboot: Drop CAR_GLOBAL_MIGRATION support 2019-11-29 09:05:04 +00:00
vbnv.h vboot: remove OPROM-related code 2019-05-15 17:50:08 +00:00
vbnv_cmos.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
vbnv_ec.c
vbnv_flash.c security/vboot: Drop CAR_GLOBAL_MIGRATION support 2019-11-29 09:05:04 +00:00
vbnv_layout.h vboot: rename BOOT_OPROM_NEEDED to BOOT_DISPLAY_REQUEST 2019-05-15 17:49:24 +00:00
vboot_common.c security/vboot: Use persistent context to read GBB flags 2019-11-28 07:03:20 +00:00
vboot_common.h security/vboot: Add vboot callbacks to support EC software sync 2019-11-20 13:29:49 +00:00
vboot_crtm.c src: Move 'static' to the beginning of declaration 2019-12-02 15:56:40 +00:00
vboot_crtm.h security/vboot/vboot_crtm.h: Remove ENV_ for vboot_measure_cbfs_hook() 2019-05-20 14:41:40 +00:00
vboot_loader.c security/vboot: Drop CAR_GLOBAL_MIGRATION support 2019-11-29 09:05:04 +00:00
vboot_logic.c vboot: Clear secdata change flags after factory init 2019-12-06 05:23:33 +00:00
verstage.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00