]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2TbltDevicePkg/PlatformPei/PlatformPei.inf
Vlv2TbltDevicePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / Vlv2TbltDevicePkg / PlatformPei / PlatformPei.inf
1 #
2 #
3 # Copyright (c) 1999 - 2018, Intel Corporation. All rights reserved
4 #
5 # SPDX-License-Identifier: BSD-2-Clause-Patent
6 #
7 #
8 # This PEIM includes 3 parts, pre memory initialization, MRC
9 # wrapper and post memory initialization.
10 # On pre memory, following action is performed,
11 # 1. Initizluize GMCH.
12 # 2. Detect boot mode.
13 # 3. Detect video adapter to determine whether we need pre allocated
14 # memory.
15 #
16 # After that MRC wrapper calls MRC to initialize memory and install a PPI
17 # notify to do post memory
18 # initialization. MRC wrapper performance following actions,
19 # 1. Install EFI Memory.
20 # 2. Capsule coalesce if capsule boot mode.
21 # 3. Create HOB of system memory.
22 # Note: MRC supports 3 kinds of chipsets including Lakeport, Glenwood and Mukilteo,
23 # so please don't define MACRO MUKILTEO_SUPPORT on Lakeport here.
24 #
25 # On post memory, following action is performed,
26 # 1. TC initialization after MRC.
27 # 2. SIO initialization.
28 # 3. Install ResetSystem and FinvFv PPI, relocate Stall to memory on
29 # recovery boot mode.
30 # 4. Set MTRR for PEI
31 # 5. Create FV HOB and Flash HOB
32 # 6. Install RecoveryModule and AtaController PPI if on recovery boot mode.
33 #
34 # This PEIM does not have any register access directly, it depends on
35 # IntelTCLib, TCAccess libraries to access Chipset
36 # registers.
37 #
38 # Platform.c - Provide main flow and entrypoint of PEIM.
39 # MemoryCallback.c - Includes a memory call back function notified when
40 # MRC is done.
41 #
42 #
43
44 [Defines]
45 INF_VERSION = 0x00010005
46 BASE_NAME = PlatformPeim
47 FILE_GUID = 9618C0DC-50A4-496c-994F-7241F282ED01
48 MODULE_TYPE = PEIM
49 VERSION_STRING = 1.0
50 ENTRY_POINT = PeiInitPlatform
51 PI_SPECIFICATION_VERSION = 0x0001000A
52
53 [sources.common]
54 Platform.c
55 Platform.h
56 MemoryCallback.c
57 CommonHeader.h
58 Stall.c
59 BootMode.c
60
61
62 [Packages]
63 MdePkg/MdePkg.dec
64 MdeModulePkg/MdeModulePkg.dec
65 Vlv2TbltDevicePkg/PlatformPkg.dec
66 IntelFrameworkPkg/IntelFrameworkPkg.dec
67 Vlv2DeviceRefCodePkg/Vlv2DeviceRefCodePkg.dec
68 Vlv2SocBinPkg/Vlv2SocBinPkg.dec
69 UefiCpuPkg/UefiCpuPkg.dec
70 CryptoPkg/CryptoPkg.dec
71
72 [LibraryClasses]
73 PeimEntryPoint
74 DebugLib
75 HobLib
76 IoLib
77 MultiPlatformLib
78 MtrrLib
79 PerformanceLib
80 MonoStatusCodeLib
81 BaseCryptLib
82 PciLib
83
84 [Ppis]
85 gEfiPeiStallPpiGuid
86 gPeiSpeakerInterfacePpiGuid
87 gEfiPeiMemoryDiscoveredPpiGuid
88 gVlvPolicyPpiGuid
89 gEfiPeiReadOnlyVariable2PpiGuid
90 gEfiPeiResetPpiGuid
91 gEfiEndOfPeiSignalPpiGuid
92 gEfiFindFvPpiGuid
93 gPeiCapsulePpiGuid
94 gEfiPeiBootInRecoveryModePpiGuid
95 gEfiPeiRecoveryModulePpiGuid
96 gEfiPeiDeviceRecoveryModulePpiGuid
97 gPeiCachePpiGuid
98 gEfiPeiMasterBootModePpiGuid
99 gEfiPeiSmbusPpiGuid
100 gPeiMfgMemoryTestPpiGuid
101 gPeiSha256HashPpiGuid
102 gVlvMmioPolicyPpiGuid
103 gSeCfTPMPolicyPpiGuid
104
105 [Guids]
106 gEfiSetupVariableGuid
107 gEfiPlatformInfoGuid
108 gEfiPlatformBootModeGuid
109 gEfiPlatformCpuInfoGuid
110 gEfiGlobalVariableGuid
111 gRecoveryOnFatFloppyDiskGuid
112 gRecoveryOnFatUsbDiskGuid
113 gRecoveryOnFatIdeDiskGuid
114 gRecoveryOnDataCdGuid
115 gMfgModeVariableGuid
116 gEfiNormalSetupGuid
117 gEfiVlv2VariableGuid
118
119 [Pcd.common]
120 gPlatformModuleTokenSpaceGuid.PcdFlashFvMainBase
121 gPlatformModuleTokenSpaceGuid.PcdFlashFvMainSize
122 gPlatformModuleTokenSpaceGuid.PcdFlashFvRecovery2Base
123 gPlatformModuleTokenSpaceGuid.PcdFlashFvRecovery2Size
124 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress
125 gPlatformModuleTokenSpaceGuid.PcdFlashAreaBaseAddress
126 gPlatformModuleTokenSpaceGuid.PcdFlashAreaSize
127 [Depex]
128 TRUE
129