coreboot/src/drivers
Michał Żygowski b5e729c129 drivers/mrc_cache: Do not verify TPM MRC hash if secdata is mocked
Having PTT means mocking secdata, so saving/reading the hash always
succeeds, but there is no data stored/read from/to TPM. The code
comparing MRC hashes did not care if secdata mocking was enabled
and failed during hash comparison with invalid data. This broke the
fastboot even if the MRC cache data was filled and correctly
checksummed. If mocking is enabled simply fallback to checksum
computing to proceed with fastboot.

TEST=Boot MSI PRO Z690-A WIFI DDR4 in fastboot mode with PTT and vboot
enabled.

Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Change-Id: Ic0cf04b129fe1c5e94cd8a803bb21aa350c3f8da
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64221
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2022-06-24 21:56:01 +00:00
..
acpi/thermal_zone drivers/acpi: Add a chip driver to generate thermal zone 2021-05-20 08:01:11 +00:00
amd arch/x86: Add a common romstage entry 2022-06-07 12:54:39 +00:00
ams include/bcd: move bcd code to commonlib/bsd/include 2021-08-23 14:08:47 +00:00
analogix/anx7625 treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
asmedia
aspeed device/resource: Add _kb postfix for resource allocators 2022-06-22 12:30:15 +00:00
broadcom src: Make PCI ID define names shorter 2022-03-07 08:32:09 +00:00
camera
crb drivers/crb: Generate TPM PPI ACPI code 2022-06-23 12:14:41 +00:00
elog drivers/elog/elog: Add timestamps to elog_init 2021-11-08 14:46:40 +00:00
emulation/qemu drivers/emulation/qemu: Add missing include for MMIO 2021-10-17 11:48:13 +00:00
generic {drivers,northbridge,security}: Remove unused <cpu/x86/lapic.h> 2022-04-24 21:23:10 +00:00
genesyslogic drivers/genesyslogic/gl9763e: Add set L1 entry delay to Max for GL9763E 2022-03-22 03:45:30 +00:00
gfx/generic drivers/gfx/generic: Add optional _HID for gfx devices 2021-12-01 22:04:12 +00:00
i2c drivers/tpm/cr50: Add TPM IRQ timeout Kconfig option 2022-06-08 00:28:27 +00:00
intel drivers/intel/gma/acpi: Replace LNotEqual(a,b) with ASL 2.0 syntax 2022-06-09 08:57:33 +00:00
ipmi drivers/ipmi: Fix header guard 2022-05-16 06:54:57 +00:00
lenovo drivers: Remove unused <acpi/acpi.h> 2022-04-24 17:41:26 +00:00
maxim drivers/maxim/max77686/max77686.h: Remove repeated word 2021-01-18 07:39:21 +00:00
mipi commonlib/bsd: Remove cb_err_t 2022-03-09 02:18:21 +00:00
mrc_cache drivers/mrc_cache: Do not verify TPM MRC hash if secdata is mocked 2022-06-24 21:56:01 +00:00
net drivers/net/r8168: Add support for Realtek RTL8111K 2022-03-24 15:47:37 +00:00
ocp/dmi cpu/x86/mp_init: use cb_err as status return type in remaining functions 2021-10-22 01:26:30 +00:00
parade commonlib/bsd: Remove cb_err_t 2022-03-09 02:18:21 +00:00
pc80 device/resource: Add _kb postfix for resource allocators 2022-06-22 12:30:15 +00:00
pcie drivers/pcie/generic: Add support to generate code under companion device instead 2022-03-10 23:57:16 +00:00
ricoh/rce822 src: Make PCI ID define names shorter 2022-03-07 08:32:09 +00:00
secunet/dmi
siemens/nc_fpga src: Make PCI ID define names shorter 2022-03-07 08:32:09 +00:00
sil/3114
smmstore drivers/smmstore/store.c: Add fmap_config.h dependency 2022-02-14 16:13:41 +00:00
soundwire device/mipi: Move to drivers/mipi 2021-08-26 15:18:45 +00:00
spi drivers/tpm/cr50: Add TPM IRQ timeout Kconfig option 2022-06-08 00:28:27 +00:00
ti commonlib/bsd: Remove cb_err_t 2022-03-09 02:18:21 +00:00
tpm drivers/tpm/cr50: Add TPM IRQ timeout Kconfig option 2022-06-08 00:28:27 +00:00
uart drivers/uart/uart8250reg.h: use shifts in constants 2022-02-07 14:05:05 +00:00
usb drivers/usb/gadget.c: Use 'printk()' instead of 'dprintk()' 2022-06-20 12:12:30 +00:00
vpd CBMEM: Change declarations for initialization hooks 2022-05-20 07:15:39 +00:00
wifi/generic drivers/wifi: Move MTL Magnetar CNVi DIDs from SoC to generic driver 2022-06-03 15:28:12 +00:00
wwan/fm drivers/wwan/fm: Include option to add ACPI _DSD for DmaProperty 2022-03-07 17:48:44 +00:00