Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 8cb890364b2e43303d4b976b441bb8f497c3efb3
https://github.com/tianocore/edk2/commit/8cb890364b2e43303d4b976b441bb8f497c3efb3
Author: Laszlo Ersek <[email protected]>
Date: 2020-06-09 (Tue, 09 Jun 2020)
Changed paths:
M OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
M OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c
Log Message:
-----------
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 <[email protected]>
Cc: Jordan Justen <[email protected]>
Cc: Marc-André Lureau <[email protected]>
Cc: Philippe Mathieu-Daudé <[email protected]>
Cc: Stefan Berger <[email protected]>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2752
Signed-off-by: Laszlo Ersek <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 82e0b2f043c17bdb3d5ada7d9fe2bc13624cef27
https://github.com/tianocore/edk2/commit/82e0b2f043c17bdb3d5ada7d9fe2bc13624cef27
Author: Laszlo Ersek <[email protected]>
Date: 2020-06-09 (Tue, 09 Jun 2020)
Changed paths:
M OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
Log Message:
-----------
OvmfPkg/Tcg2ConfigPei: restrict BaseLib class dependency to IA32 and X64
BaseLib interfaces (namely, SwapBytesXx()) are only used in
"Tpm12Support.c", which is IA32/X64-only. Therefore the BaseLib class
dependency should also be restricted to IA32 & X64, in the INF file.
The "#include <Library/BaseLib.h>" directive is already present in
"Tpm12Support.c" only.
(The BaseLib dependency should have been restricted to IA32 and X64
together with the Tpm12DeviceLib dependency, as part of commit
74f90d38c446, "OvmfPkg/Tcg2ConfigPei: skip TPM-1.2 detection when building
for ARM/AARCH64", 2020-05-21.)
This is a trivial cleanup; functionally a no-op.
Cc: Ard Biesheuvel <[email protected]>
Cc: Jordan Justen <[email protected]>
Cc: Marc-André Lureau <[email protected]>
Cc: Philippe Mathieu-Daudé <[email protected]>
Cc: Stefan Berger <[email protected]>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2752
Signed-off-by: Laszlo Ersek <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Compare: https://github.com/tianocore/edk2/compare/6aa48ab791ec...82e0b2f043c1
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits