coreboot/src/security/intel/txt
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
..
common.c treewide: Include <device/mmio.h> instead of <arch/mmio.h> 2022-12-10 05:07:14 +00:00
getsec.c
getsec_enteraccs.S cpu/x86: Drop !CPU_INFO_V2 code 2022-11-07 14:00:00 +00:00
getsec_mtrr_setup.inc
getsec_sclean.S
Kconfig security/intel/txt: Create Intel TXT lib with helper functions 2023-01-08 16:50:44 +00:00
logging.c treewide: Include <device/mmio.h> instead of <arch/mmio.h> 2022-12-10 05:07:14 +00:00
Makefile.inc security/intel/txt: Create Intel TXT lib with helper functions 2023-01-08 16:50:44 +00:00
ramstage.c treewide: Include <device/mmio.h> instead of <arch/mmio.h> 2022-12-10 05:07:14 +00:00
romstage.c security/intel/txt: Create Intel TXT lib with helper functions 2023-01-08 16:50:44 +00:00
txt.h security/intel/txt: Add helper function to disable TXT 2023-01-09 04:30:39 +00:00
txt_getsec.h
txt_platform.h
txt_register.h drivers/intel/ptt: Use the correct detection method 2022-09-12 12:23:19 +00:00
txtlib.c security/intel/txt: Add helper function to disable TXT 2023-01-09 04:30:39 +00:00
txtlib.h security/intel/txt: Create Intel TXT lib with helper functions 2023-01-08 16:50:44 +00:00