]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
55684ba045b3f1d7baf4ce19036adb65a04f1a99
[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 a UEFI
5 # variable and/or hardware detection. In OvmfPkg, the module only performs TPM2
6 # hardware detection.
7 #
8 # Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
9 # Copyright (C) 2018, Red Hat, Inc.
10 #
11 # SPDX-License-Identifier: BSD-2-Clause-Patent
12 ##
13
14 [Defines]
15 INF_VERSION = 0x00010005
16 BASE_NAME = Tcg2ConfigPei
17 FILE_GUID = BF7F2B0C-9F2F-4889-AB5C-12460022BE87
18 MODULE_TYPE = PEIM
19 VERSION_STRING = 1.0
20 ENTRY_POINT = Tcg2ConfigPeimEntryPoint
21
22 [Sources]
23 Tcg2ConfigPeim.c
24
25 [Packages]
26 MdePkg/MdePkg.dec
27 MdeModulePkg/MdeModulePkg.dec
28 OvmfPkg/OvmfPkg.dec
29 SecurityPkg/SecurityPkg.dec
30
31 [LibraryClasses]
32 PeimEntryPoint
33 DebugLib
34 PeiServicesLib
35 Tpm2DeviceLib
36
37 [Guids]
38 gEfiTpmDeviceSelectedGuid ## PRODUCES ## GUID # Used as a PPI GUID
39 gEfiTpmDeviceInstanceTpm20DtpmGuid ## SOMETIMES_CONSUMES
40
41 [Ppis]
42 gPeiTpmInitializationDonePpiGuid ## SOMETIMES_PRODUCES
43
44 [Pcd]
45 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## PRODUCES
46
47 [Depex.IA32, Depex.X64]
48 TRUE
49
50 [Depex.ARM, Depex.AARCH64]
51 gOvmfTpmDiscoveredPpiGuid