2018-02-22 14:20:58 +01:00
|
|
|
## @file
|
2018-03-09 19:54:20 +01:00
|
|
|
# Set TPM device type
|
2018-02-22 14:20:58 +01:00
|
|
|
#
|
2018-03-09 19:54:20 +01:00
|
|
|
# In SecurityPkg, this module initializes the TPM device type based on a UEFI
|
|
|
|
# variable and/or hardware detection. In OvmfPkg, the module only performs TPM2
|
|
|
|
# hardware detection.
|
2018-02-22 14:20:58 +01:00
|
|
|
#
|
|
|
|
# Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
|
|
|
|
# Copyright (C) 2018, Red Hat, Inc.
|
|
|
|
#
|
2018-03-09 19:54:20 +01:00
|
|
|
# This program and the accompanying materials are licensed and made available
|
|
|
|
# under the terms and conditions of the BSD License which accompanies this
|
|
|
|
# distribution. The full text of the license may be found at
|
2018-02-22 14:20:58 +01:00
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
#
|
2018-03-09 19:54:20 +01:00
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT
|
|
|
|
# WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
2018-02-22 14:20:58 +01:00
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = Tcg2ConfigPei
|
|
|
|
FILE_GUID = BF7F2B0C-9F2F-4889-AB5C-12460022BE87
|
|
|
|
MODULE_TYPE = PEIM
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = Tcg2ConfigPeimEntryPoint
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
Tcg2ConfigPeim.c
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
SecurityPkg/SecurityPkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
PeimEntryPoint
|
|
|
|
DebugLib
|
|
|
|
PeiServicesLib
|
|
|
|
Tpm2DeviceLib
|
|
|
|
|
|
|
|
[Guids]
|
2018-03-09 19:54:20 +01:00
|
|
|
gEfiTpmDeviceSelectedGuid ## PRODUCES ## GUID # Used as a PPI GUID
|
2018-02-22 14:20:58 +01:00
|
|
|
gEfiTpmDeviceInstanceTpm20DtpmGuid ## SOMETIMES_CONSUMES
|
|
|
|
|
|
|
|
[Ppis]
|
|
|
|
gPeiTpmInitializationDonePpiGuid ## SOMETIMES_PRODUCES
|
|
|
|
|
|
|
|
[Pcd]
|
|
|
|
gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## PRODUCES
|
|
|
|
|
|
|
|
[Depex]
|
|
|
|
TRUE
|