]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Tcg/Tcg2Config/Tcg12ConfigPei.inf
SecurityPkg: SecureBootConfigDxe: Updated invocation pattern
[mirror_edk2.git] / OvmfPkg / Tcg / Tcg2Config / Tcg12ConfigPei.inf
1 ## @file
2 # Set TPM device type - supports TPM 1.2 and 2.0
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 TPM
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 = 8AD3148F-945F-46B4-8ACD-71469EA73945
18 MODULE_TYPE = PEIM
19 VERSION_STRING = 1.0
20 ENTRY_POINT = Tcg2ConfigPeimEntryPoint
21
22 [Sources]
23 Tcg2ConfigPeim.c
24 Tpm12Support.h
25 Tpm12Support.c
26
27 [Packages]
28 MdePkg/MdePkg.dec
29 MdeModulePkg/MdeModulePkg.dec
30 OvmfPkg/OvmfPkg.dec
31 SecurityPkg/SecurityPkg.dec
32
33 [LibraryClasses]
34 PeimEntryPoint
35 DebugLib
36 PeiServicesLib
37 Tpm2DeviceLib
38 BaseLib
39 Tpm12DeviceLib
40
41 [Guids]
42 gEfiTpmDeviceSelectedGuid ## PRODUCES ## GUID # Used as a PPI GUID
43 gEfiTpmDeviceInstanceTpm20DtpmGuid ## SOMETIMES_CONSUMES
44 gEfiTpmDeviceInstanceTpm12Guid ## SOMETIMES_CONSUMES
45
46 [Ppis]
47 gPeiTpmInitializationDonePpiGuid ## SOMETIMES_PRODUCES
48
49 [Pcd]
50 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## PRODUCES
51
52 [Depex.IA32, Depex.X64]
53 gOvmfTpmMmioAccessiblePpiGuid
54
55 [Depex.ARM, Depex.AARCH64]
56 gOvmfTpmDiscoveredPpiGuid