a06cd6c29e
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> |
||
---|---|---|
.. | ||
antirollback.h | ||
bootmode.c | ||
common.c | ||
gbb.c | ||
gbb.h | ||
Kconfig | ||
Makefile.inc | ||
misc.h | ||
mrc_cache_hash_tpm.c | ||
secdata_mock.c | ||
secdata_tpm.c | ||
symbols.h | ||
vbnv.c | ||
vbnv.h | ||
vbnv_cmos.c | ||
vbnv_ec.c | ||
vbnv_flash.c | ||
vbnv_layout.h | ||
vboot_common.c | ||
vboot_common.h | ||
vboot_crtm.c | ||
vboot_crtm.h | ||
vboot_handoff.c | ||
vboot_loader.c | ||
vboot_logic.c | ||
verstage.c |