SecurityPkg/Tcg: Make Tcg2PlatformDxe buildable and fix style issues

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
Stefan Berger 2021-09-13 22:21:00 +08:00 committed by mergify[bot]
parent ebbc8ab2cd
commit 2906e572c6
3 changed files with 4 additions and 5 deletions

View File

@ -11,8 +11,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef _TPM_PLATFORM_HIERARCHY_LIB_H_
#define _TPM_PLATFORM_HIERARCHY_LIB_H_
#ifndef TPM_PLATFORM_HIERARCHY_LIB_H_
#define TPM_PLATFORM_HIERARCHY_LIB_H_
/**
This service will perform the TPM Platform Hierarchy configuration at the SmmReadyToLock event.

View File

@ -233,7 +233,7 @@ DisableTpmPlatformHierarchy (
/**
This service defines the configuration of the Platform Hierarchy Authorization Value (platformAuth)
and Platform Hierarchy Authorization Policy (platformPolicy)
and Platform Hierarchy Authorization Policy (platformPolicy).
**/
VOID

View File

@ -1,4 +1,4 @@
### @file
## @file
# Platform specific TPM2 component.
#
# Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.<BR>
@ -31,7 +31,6 @@
[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
MinPlatformPkg/MinPlatformPkg.dec
SecurityPkg/SecurityPkg.dec
[Sources]