coreboot/src/drivers/intel
Michał Żygowski ff7725e742 drivers/intel/ptt: Use the correct detection method
On some platforms the HFSTS4 bit 19 does not indicate active PTT.
Instead of ME HFSTS4, use TXT FTIF register to check active TPM for
the current boot. Discrete TPM shall be deactivated when PTT is
enabled so this always should return true value of PTT state.

Leave the old method for backwards compatibility if TXT FTIF would not
be applicable for older microarchitectures.

Based on DOC #560297.

TEST=Check if PTT is detected as active on MSI PRO Z690-A DDR4 WIFI

Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Change-Id: I3a55c9f38f5bb94fb1186592446a28e675c1207c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63956
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Krystian Hebel <krystian.hebel@3mdeb.com>
2022-09-12 12:23:19 +00:00
..
dptf drivers/intel/dptf: Add multiple fan support under dptf 2022-09-04 16:48:07 +00:00
fsp1_1 drivers: Get rid of unnecessary blank lines {before,after} brace 2022-07-17 18:45:23 +00:00
fsp2_0 drivers/intel/fsp2_0: Fix location of timestamp for loading FSP-S 2022-09-08 12:21:19 +00:00
gma drivers: Add SPDX identifiers to files missing them 2022-08-11 17:52:38 +00:00
i210 src/drivers/intel/i210: Remove unuseful 'return' in void function 2022-07-17 18:56:22 +00:00
ish soc/intel/common: Include Meteor Lake device IDs 2022-03-09 22:28:33 +00:00
mipi_camera src/driver/intel/mipi_camera: Update ACPI entry to provide silicon info 2022-07-04 14:02:08 +00:00
pmc_mux drivers/intel/pmc_mux: Fix printing type 2022-02-21 15:29:55 +00:00
ptt drivers/intel/ptt: Use the correct detection method 2022-09-12 12:23:19 +00:00
soundwire acpi: Call acpi_fill_ssdt() only for enabled devices 2020-11-09 07:24:13 +00:00
usb4/retimer drivers: Get rid of unnecessary blank lines {before,after} brace 2022-07-17 18:45:23 +00:00