]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
234cdd6cb40c96ef9a6eb0efd8aaa83ef9b06329
[mirror_edk2.git] / OvmfPkg / Tcg / Tcg2Config / Tcg2ConfigPei.inf
1 ## @file
2 # Set TPM device type
3 #
4 # In SecurityPkg, this module initializes the TPM device type based on
5 # a UEFI variable and/or hardware detection. In OvmfPkg, the module
6 # only performs TPM2 hardware detection.
7 #
8 # Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
9 # Copyright (C) 2018, Red Hat, Inc.
10 #
11 # This program and the accompanying materials
12 # are licensed and made available under the terms and conditions of the BSD License
13 # which accompanies this distribution. The full text of the license may be found at
14 # http://opensource.org/licenses/bsd-license.php
15 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 #
18 ##
19
20 [Defines]
21 INF_VERSION = 0x00010005
22 BASE_NAME = Tcg2ConfigPei
23 FILE_GUID = BF7F2B0C-9F2F-4889-AB5C-12460022BE87
24 MODULE_TYPE = PEIM
25 VERSION_STRING = 1.0
26 ENTRY_POINT = Tcg2ConfigPeimEntryPoint
27
28 [Sources]
29 Tcg2ConfigPeim.c
30
31 [Packages]
32 MdePkg/MdePkg.dec
33 MdeModulePkg/MdeModulePkg.dec
34 SecurityPkg/SecurityPkg.dec
35
36 [LibraryClasses]
37 PeimEntryPoint
38 DebugLib
39 PeiServicesLib
40 Tpm2DeviceLib
41
42 [Guids]
43 gEfiTpmDeviceSelectedGuid ## PRODUCES ## GUID # Used as a PPI GUID
44 gEfiTpmDeviceInstanceTpm20DtpmGuid ## SOMETIMES_CONSUMES
45
46 [Ppis]
47 gPeiTpmInitializationDonePpiGuid ## SOMETIMES_PRODUCES
48
49 [Pcd]
50 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## PRODUCES
51
52 [Depex]
53 TRUE