diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-08-09 16:33:19 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2018-08-09 19:13:32 +0200 |
commit | 3781f14c31e00f4f1a195c7ad427be4f84f5cdf5 (patch) | |
tree | 4407d7a97a085dd7e8bbe55f3b417aa56dd537ec /SecurityPkg | |
parent | 9e6c4f1527e6f72d6ada10aa39854f2bdd40772f (diff) | |
download | edk2-3781f14c31e00f4f1a195c7ad427be4f84f5cdf5.zip edk2-3781f14c31e00f4f1a195c7ad427be4f84f5cdf5.tar.gz edk2-3781f14c31e00f4f1a195c7ad427be4f84f5cdf5.tar.bz2 |
SecurityPkg/Library/Tpm2DeviceLibDTpm: fix s/Constructor/CONSTRUCTOR
The library constructor is not being called because of the typo,
causing TPM2 detection/initialization to fail.
This fixes OVMF TPM2 regression since commit f15cb995bb38.
https://bugzilla.tianocore.org/show_bug.cgi?id=1075
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Zhang Chao B <chao.b.zhang@intel.com>
Cc: Long Qin <qin.long@intel.com>
Fixes: f15cb995bb3880b77e15afe6facd3da05e599a17
Contributed-under: TianoCore Contribution Agreement 1.1
Reported-by: Ricardo Araújo <ricardo@lsd.ufcg.edu.br>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
Diffstat (limited to 'SecurityPkg')
-rw-r--r-- | SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf b/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf index b6867bc..c6d23c9 100644 --- a/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf +++ b/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf @@ -28,7 +28,7 @@ MODULE_TYPE = BASE
VERSION_STRING = 1.0
LIBRARY_CLASS = Tpm2DeviceLib|PEIM DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER
- Constructor = Tpm2DeviceLibConstructor
+ CONSTRUCTOR = Tpm2DeviceLibConstructor
#
# The following information is for reference only and not required by the build tools.
#
|