]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
OvmfPkg/Tcg2ConfigPei: trivial coding style updates
[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 # This program and the accompanying materials are licensed and made available
12 # under the terms and conditions of the BSD License which accompanies this
13 # distribution. The full text of the license may be found at
14 # http://opensource.org/licenses/bsd-license.php
15 #
16 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT
17 # WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
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