diff options
author | Michał Żygowski <michal.zygowski@3mdeb.com> | 2022-04-23 01:06:21 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-09-12 12:23:19 +0000 |
commit | ff7725e74281a4ae9c776525891d45233599bce4 (patch) | |
tree | 0696830d2a497db5b4657d858c5b913542b9b9e2 /src/cpu/x86/entry32.S | |
parent | 042ba16ef8a269932e996e13f85b0767c53c8a19 (diff) |
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>
Diffstat (limited to 'src/cpu/x86/entry32.S')
0 files changed, 0 insertions, 0 deletions