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 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 = 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 | Tpm12Support.h
|
---|
25 |
|
---|
26 | [Sources.IA32, Sources.X64]
|
---|
27 | Tpm12Support.c
|
---|
28 |
|
---|
29 | [Sources.ARM, Sources.AARCH64]
|
---|
30 | Tpm12SupportNull.c
|
---|
31 |
|
---|
32 | [Packages]
|
---|
33 | MdePkg/MdePkg.dec
|
---|
34 | MdeModulePkg/MdeModulePkg.dec
|
---|
35 | OvmfPkg/OvmfPkg.dec
|
---|
36 | SecurityPkg/SecurityPkg.dec
|
---|
37 |
|
---|
38 | [LibraryClasses]
|
---|
39 | PeimEntryPoint
|
---|
40 | DebugLib
|
---|
41 | PeiServicesLib
|
---|
42 | Tpm2DeviceLib
|
---|
43 |
|
---|
44 | [LibraryClasses.IA32, LibraryClasses.X64]
|
---|
45 | BaseLib
|
---|
46 | Tpm12DeviceLib
|
---|
47 |
|
---|
48 | [Guids]
|
---|
49 | gEfiTpmDeviceSelectedGuid ## PRODUCES ## GUID # Used as a PPI GUID
|
---|
50 | gEfiTpmDeviceInstanceTpm20DtpmGuid ## SOMETIMES_CONSUMES
|
---|
51 | gEfiTpmDeviceInstanceTpm12Guid ## SOMETIMES_CONSUMES
|
---|
52 |
|
---|
53 | [Ppis]
|
---|
54 | gPeiTpmInitializationDonePpiGuid ## SOMETIMES_PRODUCES
|
---|
55 |
|
---|
56 | [Pcd]
|
---|
57 | gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## PRODUCES
|
---|
58 |
|
---|
59 | [Depex.IA32, Depex.X64]
|
---|
60 | gOvmfTpmMmioAccessiblePpiGuid
|
---|
61 |
|
---|
62 | [Depex.ARM, Depex.AARCH64]
|
---|
63 | gOvmfTpmDiscoveredPpiGuid
|
---|