TrEE is deprecated. We need use Tcg2.
Cc: David Wei <david.wei@intel.com>
Cc: Mang Guo <mang.guo@intel.com>
Cc: Chao B Zhang <chao.b.zhang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Chao B Zhang <chao.b.zhang@intel.com>
Reviewed-by: Mang Guo <mang.guo@intel.com>
#include "SetupMode.h"\r
#include <Guid/SetupVariable.h>\r
#include <Library/TcgPhysicalPresenceLib.h>\r
#include "SetupMode.h"\r
#include <Guid/SetupVariable.h>\r
#include <Library/TcgPhysicalPresenceLib.h>\r
-#include <Library/TrEEPhysicalPresenceLib.h>\r
+#include <Library/Tcg2PhysicalPresenceLib.h>\r
#include <Protocol/I2cMasterMcg.h>\r
#include <TianoApi.h>\r
#include <PlatformBaseAddresses.h>\r
#include <Protocol/I2cMasterMcg.h>\r
#include <TianoApi.h>\r
#include <PlatformBaseAddresses.h>\r
TcgPhysicalPresenceLibProcessRequest();\r
#endif\r
#ifdef FTPM_ENABLE\r
TcgPhysicalPresenceLibProcessRequest();\r
#endif\r
#ifdef FTPM_ENABLE\r
- TrEEPhysicalPresenceLibProcessRequest(NULL);\r
+ Tcg2PhysicalPresenceLibProcessRequest(NULL);\r
#endif\r
\r
if (EsrtManagement != NULL) {\r
#endif\r
\r
if (EsrtManagement != NULL) {\r
TcgPhysicalPresenceLibProcessRequest();\r
#endif\r
#ifdef FTPM_ENABLE\r
TcgPhysicalPresenceLibProcessRequest();\r
#endif\r
#ifdef FTPM_ENABLE\r
- TrEEPhysicalPresenceLibProcessRequest(NULL);\r
+ Tcg2PhysicalPresenceLibProcessRequest(NULL);\r
#endif\r
\r
if (EsrtManagement != NULL) {\r
#endif\r
\r
if (EsrtManagement != NULL) {\r
PrintLib\r
BaseCryptLib\r
# TcgPhysicalPresenceLib\r
PrintLib\r
BaseCryptLib\r
# TcgPhysicalPresenceLib\r
- TrEEPhysicalPresenceLib \r
+ Tcg2PhysicalPresenceLib \r
FileHandleLib\r
S3BootScriptLib\r
SerialPortLib\r
FileHandleLib\r
S3BootScriptLib\r
SerialPortLib\r