coreboot/src
Subrata Banik ad87a82ca7 security/intel/txt: Add helper function to disable TXT
Add a function to disable TXT as per TXT BIOS spec Section 6.2.5. AP
firmware can disable TXT if TXT fails or TPM is already enabled.

On platforms with TXT disabled, the memory can be unlocked using
MSR 0x2e6.

TEST=Able to perform disable_txt on SoC SKUs with TXT enabled.

Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I27f613428e82a1dd924172eab853d2ce9c32b473
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71574
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tarun Tuli <taruntuli@google.com>
Reviewed-by: Sridhar Siricilla <sridhar.siricilla@intel.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
2023-01-09 04:30:39 +00:00
..
acpi tree/acpi: Replace constant "Zero" with actual number 2022-12-27 09:06:47 +00:00
arch arch/x86/smbios: Replace SMBIOS type4 processor upgrade fields 2023-01-08 01:27:14 +00:00
commonlib vc/google: Add and use POST_CODE_CLEAR definition 2023-01-07 03:31:41 +00:00
console lib: Hook up libhwbase in romstage 2022-12-17 20:51:38 +00:00
cpu cpu/x86: Set up a separate stack for APs 2022-12-23 14:29:01 +00:00
device soc/intel/alderlake/acpi: Add Kconfig options for SCM and FCM 2023-01-08 01:26:25 +00:00
drivers drivers/amd: Update to use defined post codes 2023-01-08 01:22:15 +00:00
ec {ec,mb}/system76/acpi: Use Printf() for debug prints 2022-12-29 16:30:15 +00:00
include security/intel/txt: Add helper function to disable TXT 2023-01-09 04:30:39 +00:00
lib src/lib: Include LZMA in romstage for FSP-M 2023-01-08 01:21:46 +00:00
mainboard mb/google/skyrim/var/markarth: Enable DPTC support 2023-01-09 00:26:45 +00:00
northbridge nb/intel/haswell: Specify supported memory type 2023-01-05 05:32:47 +00:00
sbom
security security/intel/txt: Add helper function to disable TXT 2023-01-09 04:30:39 +00:00
soc soc/intel/common: Untie PRMRR from SGX 2023-01-08 19:36:43 +00:00
southbridge sb/intel/lynxpoint: Add Kconfig option to hide Intel ME 2022-12-23 14:20:39 +00:00
superio {superio,ec}/acpi: Replace constant "Zero" with actual number 2022-12-27 09:06:29 +00:00
vendorcode vc/google: Add and use POST_CODE_CLEAR definition 2023-01-07 03:31:41 +00:00
Kconfig Kconfig: Add option to compress ramstage with LZ4 2023-01-08 01:20:15 +00:00