summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Tcg/Tcg2Config
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2020-06-03 19:04:12 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-06-09 18:51:09 +0000
commit8cb890364b2e43303d4b976b441bb8f497c3efb3 (patch)
tree643b1d6da248ced9f7155a527c845f199a06d17f /OvmfPkg/Tcg/Tcg2Config
parent6aa48ab791ecc4fe22d110222bd7b566bc8a2274 (diff)
downloadedk2-8cb890364b2e43303d4b976b441bb8f497c3efb3.tar.gz
edk2-8cb890364b2e43303d4b976b441bb8f497c3efb3.tar.bz2
edk2-8cb890364b2e43303d4b976b441bb8f497c3efb3.zip
OvmfPkg/Tcg2ConfigPei: generalize TPM2-only file-top comments
The leading comments in "Tcg2ConfigPei.inf" and "Tcg2ConfigPeim.c" say, "In OvmfPkg, the module only performs TPM2 hardware detection". The statement hasn't been correct since commit 89236992913f ("OvmfPkg: detect TPM 1.2 in Tcg2ConfigPei", 2020-03-04). Replace "TPM2" with "TPM" (without stating a version) in those file-top comments. Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Marc-André Lureau <marcandre.lureau@redhat.com> Cc: Philippe Mathieu-Daudé <philmd@redhat.com> Cc: Stefan Berger <stefanb@linux.ibm.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2752 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Message-Id: <20200603170413.23936-2-lersek@redhat.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'OvmfPkg/Tcg/Tcg2Config')
-rw-r--r--OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf2
-rw-r--r--OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf b/OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
index 194ebfba64..55c20db963 100644
--- a/OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
+++ b/OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
@@ -2,7 +2,7 @@
# Set TPM device type
#
# In SecurityPkg, this module initializes the TPM device type based on a UEFI
-# variable and/or hardware detection. In OvmfPkg, the module only performs TPM2
+# variable and/or hardware detection. In OvmfPkg, the module only performs TPM
# hardware detection.
#
# Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
diff --git a/OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c b/OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c
index cc54d95cad..b3b9035eea 100644
--- a/OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c
+++ b/OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c
@@ -2,7 +2,7 @@
Set TPM device type
In SecurityPkg, this module initializes the TPM device type based on a UEFI
- variable and/or hardware detection. In OvmfPkg, the module only performs TPM2
+ variable and/or hardware detection. In OvmfPkg, the module only performs TPM
hardware detection.
Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>