aboutsummaryrefslogtreecommitdiff
path: root/src/security/intel/txt/txt_register.h
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-10-16 11:52:40 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-10-22 20:05:01 +0000
commit6c4028dd3ddf571ef2e992de8d9927b598f7cd6b (patch)
treebe16d37d00c53d75231da79f1c37cdf70e3956e7 /src/security/intel/txt/txt_register.h
parente70a3f8822d6c1e0b0f1dc86464acfb24c80b450 (diff)
sec/intel/txt: Only run LockConfig for LT-SX
LockConfig only exists on Intel TXT for Servers. Check whether this is supported using GETSEC[PARAMETERS]. This eliminates a spurious error for Client TXT platforms such as Haswell, and is a no-op on TXT for Servers. Change-Id: Ibb7b0eeba1489dc522d06ab27eafcaa0248b7083 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46498 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/security/intel/txt/txt_register.h')
-rw-r--r--src/security/intel/txt/txt_register.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/security/intel/txt/txt_register.h b/src/security/intel/txt/txt_register.h
index bbf0a7e72d..c19ec13799 100644
--- a/src/security/intel/txt/txt_register.h
+++ b/src/security/intel/txt/txt_register.h
@@ -132,8 +132,7 @@
#define IA32_GETSEC_SMCTRL 7
#define IA32_GETSEC_WAKEUP 8
-#define GETSEC_PARAMS_TXT_EXT (1ul << 5)
-#define GETSEC_PARAMS_TXT_EXT_CRTM_SUPPORT (1ul << 1)
+#define GETSEC_PARAMS_TXT_EXT_CRTM_SUPPORT (1ul << 5)
#define GETSEC_PARAMS_TXT_EXT_MACHINE_CHECK (1ul << 6)
/* ACM defines */