From 33aaf8d71faf09b1535b147a7a72782020d28b84 Mon Sep 17 00:00:00 2001 From: Jiewen Yao Date: Wed, 14 Mar 2018 21:50:42 +0800 Subject: [PATCH] Vlv2TbltDevicePkg/Bds: use Tcg2 instead of TrEE. TrEE is deprecated. We need use Tcg2. Cc: David Wei Cc: Mang Guo Cc: Chao B Zhang Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jiewen Yao Reviewed-by: Chao B Zhang Reviewed-by: Mang Guo --- Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c | 6 +++--- Vlv2TbltDevicePkg/Library/PlatformBdsLib/PlatformBdsLib.inf | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c b/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c index 7f91777ea1..e42e82b678 100644 --- a/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c +++ b/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c @@ -27,7 +27,7 @@ Abstract: #include "SetupMode.h" #include #include -#include +#include #include #include #include @@ -1795,7 +1795,7 @@ PlatformBdsPolicyBehavior ( TcgPhysicalPresenceLibProcessRequest(); #endif #ifdef FTPM_ENABLE - TrEEPhysicalPresenceLibProcessRequest(NULL); + Tcg2PhysicalPresenceLibProcessRequest(NULL); #endif if (EsrtManagement != NULL) { @@ -2005,7 +2005,7 @@ FULL_CONFIGURATION: TcgPhysicalPresenceLibProcessRequest(); #endif #ifdef FTPM_ENABLE - TrEEPhysicalPresenceLibProcessRequest(NULL); + Tcg2PhysicalPresenceLibProcessRequest(NULL); #endif if (EsrtManagement != NULL) { diff --git a/Vlv2TbltDevicePkg/Library/PlatformBdsLib/PlatformBdsLib.inf b/Vlv2TbltDevicePkg/Library/PlatformBdsLib/PlatformBdsLib.inf index 7512556bb7..ecb3fb92c1 100644 --- a/Vlv2TbltDevicePkg/Library/PlatformBdsLib/PlatformBdsLib.inf +++ b/Vlv2TbltDevicePkg/Library/PlatformBdsLib/PlatformBdsLib.inf @@ -70,7 +70,7 @@ PrintLib BaseCryptLib # TcgPhysicalPresenceLib - TrEEPhysicalPresenceLib + Tcg2PhysicalPresenceLib FileHandleLib S3BootScriptLib SerialPortLib -- 2.39.2