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