coreboot/src
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
..
acpi drivers/intel/dptf: Add multiple fan support under dptf 2022-09-04 16:48:07 +00:00
arch src: remove force-included header rules.h from individual files 2022-09-06 17:57:31 +00:00
commonlib cbfs/vboot: Adapt to new vb2_digest API 2022-09-02 23:51:29 +00:00
console
cpu arch/x86: Fix MAX_CPUS check proper for late X2APIC config 2022-07-25 10:06:18 +00:00
device device/pci_device: Add missing spaces to log messages 2022-09-08 14:20:30 +00:00
drivers drivers/intel/ptt: Use the correct detection method 2022-09-12 12:23:19 +00:00
ec ec/google/chromeec: Modify ufp from type-c role 2022-09-05 14:06:16 +00:00
include acpi/acpigen_dptf: Increase DPTF_MAX_FAN_PERF_STATES to 20 2022-09-08 16:12:04 +00:00
lib lib/xxhash.c: Add new hash functions 2022-09-07 22:24:51 +00:00
mainboard soc/amd: Refactor DPTC Tablet Mode 2022-09-12 12:21:01 +00:00
northbridge nb/intel/sandybridge: Align TOUUD down to 1 MiB granularity 2022-08-26 14:20:26 +00:00
sbom Add SBOM (Software Bill of Materials) Generation 2022-08-22 14:48:46 +00:00
security drivers/intel/ptt: Use the correct detection method 2022-09-12 12:23:19 +00:00
soc qualcomm/sc7280: remove unnecessary malloc and early return on failure 2022-09-12 12:22:34 +00:00
southbridge amd/*/Makefile.inc: Put common words into common Makefile.inc 2022-09-01 16:33:54 +00:00
superio superio/ite/common/early_serial.c: ite_kill_watchdog: set timeout to 0 2022-08-07 19:54:43 +00:00
vendorcode vc/intel/fsp: Update ADL N FSP headers from v3267.01 to v3301.00 2022-09-04 16:08:32 +00:00
Kconfig Add SBOM (Software Bill of Materials) Generation 2022-08-22 14:48:46 +00:00