coreboot/src
Matt DeVillier 1fbc1123d7 soc/amd/common/block/gfx: Use TPM-stored hash for vbios cache validation
Write the SHA256 hash of the cached VBIOS data when saving to FMAP,
and use it to validate the data read from FMAP on subsequent boots.

Add TPM2 as a dependency to the selection of VBIOS_CACHE_IN_FMAP.

BUG=b:255812886
TEST=tested with rest of patch train

Change-Id: I9c8f23b000b90a1072aeb7a57d3b7b2b2bc626dc
Signed-off-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72402
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-02-13 14:56:48 +00:00
..
acpi acpi/acpigen: use acpigen_write_store_* in acpigen_write_rom 2023-02-10 18:28:38 +00:00
arch arch/x86/include/cpu: introduce CPU_TABLE_END CPU table terminator 2023-02-09 16:54:11 +00:00
commonlib commonlib/storage: Add attach callback to sdhci_ctrlr 2023-02-08 16:59:28 +00:00
console console: Add SimNow console logging 2023-02-09 10:01:20 +00:00
cpu arch/x86/include/cpu: introduce CPU_TABLE_END CPU table terminator 2023-02-09 16:54:11 +00:00
device treewide: Remove repeated words 2023-02-09 10:04:04 +00:00
drivers drivers/smmstore: Fix fmap_config.h dependency 2023-02-13 12:52:11 +00:00
ec ec/dell: Add support for the SMSC MEC5035 2023-02-08 19:21:59 +00:00
include drivers/smmstore: Expose region device 2023-02-12 08:20:08 +00:00
lib treewide: stop calling custom TPM log "TCPA" 2023-01-11 16:00:55 +00:00
mainboard mb/amd/birman: Set the mainboard APCB filename 2023-02-13 14:44:13 +00:00
northbridge nb/intel/haswell: Add 9-series PCH IDs 2023-02-09 21:41:18 +00:00
sbom src/sbom/Makefile.inc: Fix variable expansion 2023-02-13 14:54:27 +00:00
security security/vboot: Add store/validate methods for AMD VBIOS FMAP cache 2023-02-13 14:56:22 +00:00
soc soc/amd/common/block/gfx: Use TPM-stored hash for vbios cache validation 2023-02-13 14:56:48 +00:00
southbridge sb/intel/lynxpoint: Add PCI DIDs for 9 series PCHs 2023-02-09 21:40:52 +00:00
superio
vendorcode soc/amd/mendocino: Add svc_write_postcode call instead of stub 2023-02-13 14:51:11 +00:00
Kconfig tree: Drop repeated words 2023-02-07 04:37:31 +00:00