]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
OvmfPkg: detect TPM 1.2 in Tcg2ConfigPei
[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 Tpm12CommandLib
36 Tpm12DeviceLib
37 Tpm2DeviceLib
38
39 [Guids]
40 gEfiTpmDeviceSelectedGuid ## PRODUCES ## GUID # Used as a PPI GUID
41 gEfiTpmDeviceInstanceTpm20DtpmGuid ## SOMETIMES_CONSUMES
42 gEfiTpmDeviceInstanceTpm12Guid ## SOMETIMES_CONSUMES
43
44 [Ppis]
45 gPeiTpmInitializationDonePpiGuid ## SOMETIMES_PRODUCES
46
47 [Pcd]
48 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## PRODUCES
49
50 [Depex.IA32, Depex.X64]
51 TRUE
52
53 [Depex.ARM, Depex.AARCH64]
54 gOvmfTpmDiscoveredPpiGuid