[PATCH v8 08/10] SecurityPkg/Tcg: Make Tcg2PlatformPei buildable and fix style issues


Stefan Berger <stefanb@...>
 

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
---
SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.c | 11 ++++++-----
SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf | 4 ++--
2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.c b/SecurityPk=
g/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.c
index 66ec75ad0e..21d2c1433d 100644
--- a/SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.c
+++ b/SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.c
@@ -1,4 +1,5 @@
/** @file=0D
+ Configure TPM 2 platform hierarchy on TPM state resume failure on S3 res=
ume=0D
=0D
Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>=0D
Copyright (c) Microsoft Corporation.<BR>=0D
@@ -24,12 +25,12 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
/**=0D
This function handles PlatformInit task at the end of PEI=0D
=0D
- @param[in] PeiServices Pointer to PEI Services Table.=0D
- @param[in] NotifyDesc Pointer to the descriptor for the Notification =
event that=0D
- caused this function to execute.=0D
- @param[in] Ppi Pointer to the PPI data associated with this fu=
nction.=0D
+ @param[in] PeiServices Pointer to PEI Services Table.=0D
+ @param[in] NotifyDescriptor Pointer to the descriptor for the Notific=
ation event that=0D
+ caused this function to execute.=0D
+ @param[in] Ppi Pointer to the PPI data associated with t=
his function.=0D
=0D
- @retval EFI_SUCCESS The function completes successfully=0D
+ @retval EFI_SUCCESS The function completes successfully=0D
@retval others=0D
**/=0D
EFI_STATUS=0D
diff --git a/SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf b/Security=
Pkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf
index 579f09b940..6f57de025b 100644
--- a/SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf
+++ b/SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf
@@ -1,4 +1,5 @@
-### @file=0D
+## @file=0D
+# Configure TPM 2 platform hierarchy on TPM state resume failure on S3 res=
ume=0D
#=0D
# Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>=0D
#=0D
@@ -35,7 +36,6 @@
[Packages]=0D
MdePkg/MdePkg.dec=0D
SecurityPkg/SecurityPkg.dec=0D
- MinPlatformPkg/MinPlatformPkg.dec=0D
=0D
[Sources]=0D
Tcg2PlatformPei.c=0D
--=20
2.31.1

Join devel@edk2.groups.io to automatically receive all group messages.