coreboot-kgpe-d16/src/security/vboot
Joel Kitching a06cd6c29e vboot: remove vboot_handoff_get_recovery_reason
Two functions retrieve vboot recovery_reason:
* vboot_handoff_get_recovery_reason
* vboot_get_recovery_reason_shared_data

Previously, when CBMEM comes online, a vboot_handoff data
structure is created, and depending on the architecture,
coreboot may eventually lose access to vboot_working_data.

After implementing vboot_working_data CBMEM migration,
vboot_working_data is always guaranteed to be accessible.

vboot_get_recovery_reason_shared_data is corrected to also
allow accessing vboot_working_data in ramstage and postcar.

Now, vboot_handoff_get_recovery reason returning a valid recovery
reason implies that vboot_get_recovery_reason_shared_data should
*also* return a valid recovery reason.  Thus we may remove the
former.

BUG=b:124141368, b:124192753
TEST=make clean && make test-abuild
BRANCH=none

Change-Id: Iac216dc968dd155d9d4f8bd0f2dfd5034762f9a0
Signed-off-by: Joel Kitching <kitching@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33532
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2019-06-21 00:50:48 +00:00
..
antirollback.h vboot: include vb2_sha.h when required 2019-05-09 06:32:44 +00:00
bootmode.c vboot: remove vboot_handoff_get_recovery_reason 2019-06-21 00:50:48 +00:00
common.c src: Use include <reset.h> when appropriate 2019-03-29 20:00:20 +00:00
gbb.c vboot: remove use of GoogleBinaryBlockHeader 2019-05-06 12:40:31 +00:00
gbb.h vboot: remove use of GoogleBinaryBlockHeader 2019-05-06 12:40:31 +00:00
Kconfig vboot: refactor OPROM code 2019-04-30 21:47:25 +00:00
Makefile.inc security/vboot/vboot_crtm.h: Remove ENV_ for vboot_measure_cbfs_hook() 2019-05-20 14:41:40 +00:00
misc.h vboot: save whether developer mode is enabled 2019-05-20 12:48:19 +00:00
mrc_cache_hash_tpm.c security/vboot: Add interface for FSP 2.0 mrc caching 2018-07-17 17:40:33 +00:00
secdata_mock.c security/tpm: Unify the coreboot TPM software stack 2018-06-04 20:33:07 +00:00
secdata_tpm.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
symbols.h security/tpm: Fix TCPA log feature 2019-03-07 12:47:01 +00:00
vbnv.c vboot: remove OPROM-related code 2019-05-15 17:50:08 +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 src: include <assert.h> when appropriate 2019-04-23 10:01:36 +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 vboot: remove vboot_handoff_get_recovery_reason 2019-06-21 00:50:48 +00:00
vboot_common.h vboot: remove vboot_handoff_get_recovery_reason 2019-06-21 00:50:48 +00:00
vboot_crtm.c src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +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_handoff.c vboot: remove OPROM-related code 2019-05-15 17:50:08 +00:00
vboot_loader.c vboot: Turn vboot_logic_executed() into a static inline 2019-05-10 21:43:15 +00:00
vboot_logic.c vboot: recovery path should finalize work context 2019-06-12 05:45:10 +00:00
verstage.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00