]> git.proxmox.com Git - mirror_edk2.git/commitdiff
SecurityPkg/Tcg: Make Tcg2PlatformDxe buildable and fix style issues
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Mon, 13 Sep 2021 14:21:00 +0000 (22:21 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 13 Sep 2021 16:53:14 +0000 (16:53 +0000)
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
SecurityPkg/Include/Library/TpmPlatformHierarchyLib.h
SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.c
SecurityPkg/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf

index a872fa09dc6a3daadd6f28886ce46a1dccd22f2c..8d61a4867b9e7b45612c80bb5c86dc1eb02beaf9 100644 (file)
@@ -11,8 +11,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 \r
 **/\r
 \r
-#ifndef _TPM_PLATFORM_HIERARCHY_LIB_H_\r
-#define _TPM_PLATFORM_HIERARCHY_LIB_H_\r
+#ifndef TPM_PLATFORM_HIERARCHY_LIB_H_\r
+#define TPM_PLATFORM_HIERARCHY_LIB_H_\r
 \r
 /**\r
    This service will perform the TPM Platform Hierarchy configuration at the SmmReadyToLock event.\r
index d82a0ae1bd5f5f0ea569322cb65d3f96ec96aa12..0bb04a20fc4acd381a54fbbe3fccc27e29056139 100644 (file)
@@ -233,7 +233,7 @@ DisableTpmPlatformHierarchy (
 \r
 /**\r
    This service defines the configuration of the Platform Hierarchy Authorization Value (platformAuth)\r
-   and Platform Hierarchy Authorization Policy (platformPolicy)\r
+   and Platform Hierarchy Authorization Policy (platformPolicy).\r
 \r
 **/\r
 VOID\r
index af29c1cd98c997da35f3c5d531b261821ca5ba17..635302fe6f4676ab565e2085a3c401ac10fadc58 100644 (file)
@@ -1,4 +1,4 @@
-### @file\r
+## @file\r
 # Platform specific TPM2 component.\r
 #\r
 # Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.<BR>\r
@@ -31,7 +31,6 @@
 [Packages]\r
   MdePkg/MdePkg.dec\r
   MdeModulePkg/MdeModulePkg.dec\r
-  MinPlatformPkg/MinPlatformPkg.dec\r
   SecurityPkg/SecurityPkg.dec\r
 \r
 [Sources]\r