coreboot/src/drivers
Michał Żygowski d02bb67dd6 drivers/crb: Initialize Intel PTT control area
On newer systems such as Alder Lake it has been noticed that Intel PTT
control area is not writable until PTT is switched to ready state. The
EDK2 CRB drivers always initialize the command/response buffer address
and size registers before invoking the TPM command. See STEP 2 in
PtpCrbTpmCommand function in
tianocore/edk2/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c

Doing the same in coreboot allowed to perform PTT TPM startup
successfully and measure the components to PCRs in ramstage on an
Alder Lake S platform.

TEST=Enable measured boot and see Intel PTT is started successfully
and no errors occur during PCR extends on MSI PRO Z690-A DDR4 WIFI.

Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Change-Id: Ia8e473ecc1a520851d6d48ccad9da35c6f91005d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63957
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Krystian Hebel <krystian.hebel@3mdeb.com>
2022-10-05 11:00:36 +00:00
..
acpi/thermal_zone
amd drivers/amd/agesa: Fix some white spaces issues 2022-07-17 21:55:47 +00:00
ams
analogix/anx7625
asmedia
aspeed drivers: Get rid of unnecessary blank lines {before,after} brace 2022-07-17 18:45:23 +00:00
broadcom src: Make PCI ID define names shorter 2022-03-07 08:32:09 +00:00
camera treewide: Unify Google branding 2022-07-04 14:02:26 +00:00
crb drivers/crb: Initialize Intel PTT control area 2022-10-05 11:00:36 +00:00
elog drivers/elog/gsmi.c: Fix compiling for 64bit 2022-09-01 16:43:33 +00:00
emulation/qemu
generic pciexp_device: Join pciexp_find_(next_)extended_cap() APIs 2022-08-17 16:29:39 +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
i2c drivers/i2c/ptn3460: Add early init option 2022-09-22 15:14:57 +00:00
intel drivers/intel/mipi_camera: Remove IPU ES support entry for ADL-N 2022-09-27 14:18:27 +00:00
ipmi drivers/ipmi: prepare for adding more interfaces 2022-10-02 22:01:50 +00:00
lenovo drivers: Remove unused <acpi/acpi.h> 2022-04-24 17:41:26 +00:00
maxim
mipi commonlib/bsd: Remove cb_err_t 2022-03-09 02:18:21 +00:00
mrc_cache mrc_cache: Update metadata signature 2022-10-01 00:45:25 +00:00
net drivers: Get rid of unnecessary blank lines {before,after} brace 2022-07-17 18:45:23 +00:00
nxp/uwb mb/google/brya/var/ghost: Enable NXP UWB SR150 chip 2022-08-17 19:46:07 +00:00
ocp/dmi
parade commonlib/bsd: Remove cb_err_t 2022-03-09 02:18:21 +00:00
pc80 drivers: Get rid of unnecessary blank lines {before,after} brace 2022-07-17 18:45:23 +00:00
pcie drivers/pci/generic: Add support for _PRW 2022-07-20 22:31:22 +00:00
ricoh/rce822 src: Make PCI ID define names shorter 2022-03-07 08:32:09 +00:00
secunet/dmi
siemens/nc_fpga drivers/siemens/nc_fpga: Fix typo in comment 2022-08-23 14:04:22 +00:00
sil/3114
smbus drivers/smbus: initialize SC16IS7XX I2C to UART converter chip 2022-10-03 16:14:25 +00:00
smmstore payloads/tianocore: Rename TianoCore to edk2 2022-08-13 16:35:18 +00:00
soundwire
spi timer: Change timer util functions to 64-bit 2022-09-14 11:55:39 +00:00
ti commonlib/bsd: Remove cb_err_t 2022-03-09 02:18:21 +00:00
tpm drivers/i2c/tpm: Remove TI50_FIRMWARE_VERSION_NOT_SUPPORTED 2022-08-29 04:57:37 +00:00
uart
usb drivers/usb/hub/acpi.c: Don't use heap for ACPI name 2022-09-16 13:05:19 +00:00
vpd CBMEM: Change declarations for initialization hooks 2022-05-20 07:15:39 +00:00
wifi/generic Revert "drivers/wifi: Move MTL Magnetar CNVi DIDs from SoC to generic driver" 2022-09-16 05:37:05 +00:00
wwan/fm drivers/wwan/fm: Include option to add ACPI _DSD for DmaProperty 2022-03-07 17:48:44 +00:00