1 | ## @file
|
---|
2 | # Set TPM device type - supports TPM 2.0 only
|
---|
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 | Tpm12SupportNull.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 |
|
---|
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 | gOvmfTpmMmioAccessiblePpiGuid
|
---|
52 |
|
---|
53 | [Depex.ARM, Depex.AARCH64]
|
---|
54 | gOvmfTpmDiscoveredPpiGuid
|
---|