From 8cb890364b2e43303d4b976b441bb8f497c3efb3 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Wed, 3 Jun 2020 19:04:12 +0200 Subject: OvmfPkg/Tcg2ConfigPei: generalize TPM2-only file-top comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Cc: Jordan Justen Cc: Marc-André Lureau Cc: Philippe Mathieu-Daudé Cc: Stefan Berger Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2752 Signed-off-by: Laszlo Ersek Message-Id: <20200603170413.23936-2-lersek@redhat.com> Reviewed-by: Ard Biesheuvel Reviewed-by: Philippe Mathieu-Daudé --- OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf | 2 +- OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'OvmfPkg') 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.
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.
-- cgit v1.2.3