summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/OvmfTpmDefines.dsc.inc
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2021-12-15 12:39:17 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-12-15 16:16:05 +0000
commitb47575801e1903e8b316d01840572ce2681cf2c6 (patch)
tree90fc4110252ffc1444114705983aad831b1ca653 /OvmfPkg/OvmfTpmDefines.dsc.inc
parent3a72ec71cd83f0f5ad2f1d3c78527f4b247da75f (diff)
downloadedk2-b47575801e1903e8b316d01840572ce2681cf2c6.tar.gz
edk2-b47575801e1903e8b316d01840572ce2681cf2c6.tar.bz2
edk2-b47575801e1903e8b316d01840572ce2681cf2c6.zip
OvmfPkg: move tcg configuration to dsc and fdf include files
With this in place the tpm configuration is not duplicated for each of our four ovmf config variants (ia32, ia32x64, x64, amdsev) and it is easier to keep them all in sync when updating the tpm configuration. No functional change. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Diffstat (limited to 'OvmfPkg/OvmfTpmDefines.dsc.inc')
-rw-r--r--OvmfPkg/OvmfTpmDefines.dsc.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/OvmfPkg/OvmfTpmDefines.dsc.inc b/OvmfPkg/OvmfTpmDefines.dsc.inc
new file mode 100644
index 0000000000..51da7508b3
--- /dev/null
+++ b/OvmfPkg/OvmfTpmDefines.dsc.inc
@@ -0,0 +1,6 @@
+##
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+##
+
+ DEFINE TPM_ENABLE = FALSE
+ DEFINE TPM_CONFIG_ENABLE = FALSE