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