summaryrefslogtreecommitdiff
path: root/src/security/intel/txt/Kconfig
diff options
context:
space:
mode:
authorMichał Żygowski <michal.zygowski@3mdeb.com>2021-11-21 12:11:47 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-11-26 11:25:58 +0000
commit85d94740c44c0113459c78c57ed0733c7481348f (patch)
tree7a045e958e68a59a43275dab68448cf1d142fcb1 /src/security/intel/txt/Kconfig
parentede87184f8a3f21926ae3458418ec225052e07a3 (diff)
security/intel/txt: Allow to set TXT BIOS Data Region version
TXT BIOS Data region version is checked by Trusted Boot code. Older versions of TBoot (e.g. 1.8.2) may refuse to set up the MLE if BDR version is not known. Provide an option to set the BDR version in case an older TBoot code is used. This is very useful for platforms with TPM 1.2. TEST=Set BDR version to 4 and successfully boot QubesOS 4.0 with TBoot 1.8.2 on Dell OptiPlex 9010 Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com> Change-Id: Ic2550bd4008559bd47de9e35f8b1c7b52e6e0f5f Reviewed-on: https://review.coreboot.org/c/coreboot/+/59513 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/security/intel/txt/Kconfig')
-rw-r--r--src/security/intel/txt/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/security/intel/txt/Kconfig b/src/security/intel/txt/Kconfig
index 36489256b9..6d23583ed7 100644
--- a/src/security/intel/txt/Kconfig
+++ b/src/security/intel/txt/Kconfig
@@ -39,6 +39,18 @@ config INTEL_TXT_DPR_SIZE
the MRC does not have an input to specify the size of DPR, so this
field is only used to check if the programmed size is large enough.
+config INTEL_TXT_BDR_VERSION
+ int "BIOS Data Region version"
+ range 2 6
+ default 5 if TPM1
+ default 6 if TPM2
+ help
+ Specify the TXT heap BIOS Data Region version. Sometimes when using
+ an older Trusted Boot version, it may report unsupported BIOS Data
+ Region version and refuse to set up the measured launch environment.
+ Setting lower version may work around such issue. Allowed values
+ currently range from 2 to 6.
+
config INTEL_TXT_TEST_BIOS_ACM_CALLING_CODE
bool "Test BIOS ACM calling code with NOP function"
help