]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Include/Dsc/OvmfTpmSecurityStub.dsc.inc
OvmfPkg: Support Tdx measurement in OvmfPkgX64
[mirror_edk2.git] / OvmfPkg / Include / Dsc / OvmfTpmSecurityStub.dsc.inc
index e9ab2fca7bc7a2b0e2c538ba00b4fb1b7459d50d..89455feca4d9379071a3a8bf216bb2b4f0b462fc 100644 (file)
@@ -6,5 +6,13 @@
 !if $(TPM1_ENABLE) == TRUE\r
       NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf\r
 !endif\r
+!endif\r
+\r
+!if $(TPM2_ENABLE) == TRUE || $(CC_MEASUREMENT_ENABLE) == TRUE\r
+      #\r
+      # DxeTpm2MeasureBootLib provides security service of TPM2 measure boot and\r
+      # Confidential Computing (CC) measure boot. It should be controlled by\r
+      # TPM2_ENABLE and CC_MEASUREMENT_ENABLE\r
+      #\r
       NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf\r
 !endif\r