Vlv2TbltDevicePkg: Fix build issues in DSC/FDF
[mirror_edk2.git] / Vlv2TbltDevicePkg / PlatformPkgGccX64.dsc
CommitLineData
5e752084 1#/** @file\r
2# Platform description.\r
3#\r
54024039 4# Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.<BR>\r
5e752084 5#\r
6# This program and the accompanying materials are licensed and made available under\r
7# the terms and conditions of the BSD License that accompanies this distribution.\r
8# The full text of the license may be found at\r
9# http://opensource.org/licenses/bsd-license.php.\r
10#\r
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13#\r
14#\r
15#**/\r
16\r
17################################################################################\r
18#\r
19# Defines Section - statements that will be processed to create a Makefile.\r
20#\r
21################################################################################\r
22[Defines]\r
23 PLATFORM_NAME = Vlv2TbltDevicePkg\r
24 PLATFORM_GUID = 465B0A0B-7AC1-443b-8F67-7B8DEC145F90\r
25 PLATFORM_VERSION = 0.1\r
26 DSC_SPECIFICATION = 0x00010005\r
27\r
28 #\r
29 # Set platform specific package/folder name, same as passed from PREBUILD script.\r
30 # PLATFORM_PACKAGE would be the same as PLATFORM_NAME as well as package build folder\r
31 # DEFINE only takes effect at R9 DSC and FDF.\r
32 #\r
33 DEFINE PLATFORM_PACKAGE = Vlv2TbltDevicePkg\r
34 DEFINE PLATFORM_RC_PACKAGE = Vlv2DeviceRefCodePkg\r
35 DEFINE PLATFORM_BINARY_PACKAGE = Vlv2BinaryPkg\r
36 OUTPUT_DIRECTORY = Build/$(PLATFORM_PACKAGE)\r
37 SUPPORTED_ARCHITECTURES = IA32|X64\r
38 BUILD_TARGETS = DEBUG|RELEASE\r
39 SKUID_IDENTIFIER = DEFAULT\r
40\r
41 DEFINE CPU_ARCH =ValleyView2\r
42 DEFINE PROJECT_SC_FAMILY =IntelPch\r
43 DEFINE PROJECT_SC_ROOT =../$(PLATFORM_RC_PACKAGE)/ValleyView2Soc/SouthCluster\r
44 DEFINE PROJECT_VLV_ROOT =../$(PLATFORM_RC_PACKAGE)/ValleyView2Soc/NorthCluster\r
45\r
46 DEFINE RC_BINARY_RELEASE = TRUE\r
47 #\r
48 # Platform On/Off features are defined here\r
49 #\r
50 #\r
51 # Platform Support:: Set only one token except Crestview Hills\r
52 #\r
53 # 3.BayleyBay\r
54 # ENBDT_PF_ENABLE = TRUE\r
55 #\r
56 !include $(PLATFORM_PACKAGE)/AutoPlatformCFG.txt\r
57 !include $(PLATFORM_PACKAGE)/PlatformPkgConfig.dsc\r
58\r
59!if $(X64_CONFIG) == TRUE\r
60 DEFINE DXE_ARCHITECTURE = X64\r
61 DEFINE EDK_DXE_ARCHITECTURE = X64\r
62 DEFINE UNDI_DXE_ARCHITECTURE = 64\r
63!else\r
64 DEFINE DXE_ARCHITECTURE = IA32\r
65 DEFINE EDK_DXE_ARCHITECTURE = Ia32\r
66 DEFINE UNDI_DXE_ARCHITECTURE = 32\r
67!endif\r
68\r
69 FLASH_DEFINITION = $(PLATFORM_PACKAGE)/PlatformPkgGcc.fdf\r
70!if $(LFMA_ENABLE) == TRUE\r
71 FIX_LOAD_TOP_MEMORY_ADDRESS = 0xFFFFFFFFFFFFFFFF\r
72 DEFINE TOP_MEMORY_ADDRESS = 0xFFFFFFFFFFFFFFFF\r
73!else\r
74 FIX_LOAD_TOP_MEMORY_ADDRESS = 0x0\r
75 DEFINE TOP_MEMORY_ADDRESS = 0x0\r
76!endif\r
77\r
78 DEFINE PLATFORM_PCIEXPRESS_BASE = 0E0000000\r
79\r
80 DEFINE SEC_ENABLE = FALSE\r
81 DEFINE SEC_DEBUG_INFO_ENABLE = FALSE\r
82 DEFINE FTPM_ENABLE = FALSE\r
83\r
84################################################################################\r
85#\r
86# SKU Identification section - list of all SKU IDs supported by this\r
87# Platform.\r
88#\r
89################################################################################\r
90[SkuIds]\r
91 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.\r
92\r
93################################################################################\r
94#\r
95# Library Class section - list of all Library Classes needed by this Platform.\r
96#\r
97################################################################################\r
98[LibraryClasses.common]\r
99 #\r
100 # Entry point\r
101 #\r
102 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
103 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
104 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
105 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
106 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
107 DxeSmmDriverEntryPoint|IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/DxeSmmDriverEntryPoint.inf\r
108\r
109 #\r
110 # Basic\r
111 #\r
112 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
113!if $(SSE2_ENABLE) == TRUE\r
114 BaseMemoryLib|MdePkg/Library/BaseMemoryLibSse2/BaseMemoryLibSse2.inf\r
115!else\r
116 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
117!endif\r
118 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
119 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
120 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
121 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
d3906831 122 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
5e752084 123 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
124 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
125 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
126 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
127 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
128!if $(RC_BINARY_RELEASE) == TRUE\r
129 PchPlatformLib|Vlv2TbltDevicePkg/Library/PchPlatformLib/PchPlatformLib.inf\r
130!endif\r
131 #\r
132 # UEFI & PI\r
133 #\r
134 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
135 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
136 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
137 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
138 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
139 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
140 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
141 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
142 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
143 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
144 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
145 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
146 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
147 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
148 GenericBdsLib|$(PLATFORM_PACKAGE)/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
080851ae
MK
149 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r
150 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
5e752084 151 PlatformBdsLib|$(PLATFORM_PACKAGE)/Library/PlatformBdsLib/PlatformBdsLib.inf\r
152 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
153 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
154 FlashDeviceLib|$(PLATFORM_PACKAGE)/Library/FlashDeviceLib/FlashDeviceLib.inf\r
3edd7719 155 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
5e752084 156 #\r
157 # Framework\r
158 #\r
159!if $(S3_ENABLE) == TRUE\r
160 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r
161!else\r
162 S3BootScriptLib|MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf\r
163!endif\r
164 S3IoLib|MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf\r
165 S3PciLib|MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf\r
166\r
167 #\r
168 # Generic Modules\r
169 #\r
170!if $(USB_ENABLE) == TRUE\r
171 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
172!endif\r
173!if $(SCSI_ENABLE) == TRUE\r
174 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
175!endif\r
176!if $(NETWORK_ENABLE) == TRUE\r
177 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
178 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
179 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
180 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf\r
181 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
182!endif\r
183!if $(S3_ENABLE) == TRUE\r
184 S3Lib|IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.inf\r
185!endif\r
186\r
187 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
188!if $(CAPSULE_ENABLE) == TRUE\r
c5a59080 189 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf\r
5e752084 190!else\r
191 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
192!endif\r
c5a59080
JY
193 EdkiiSystemCapsuleLib|SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf\r
194 FmpAuthenticationLib|MdeModulePkg/Library/FmpAuthenticationLibNull/FmpAuthenticationLibNull.inf\r
195 IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf\r
196 PlatformFlashAccessLib|Vlv2TbltDevicePkg/Feature/Capsule/Library/PlatformFlashAccessLib/PlatformFlashAccessLib.inf\r
197 MicrocodeFlashAccessLib|Vlv2TbltDevicePkg/Feature/Capsule/Library/PlatformFlashAccessLib/PlatformFlashAccessLib.inf\r
5e752084 198 LanguageLib|EdkCompatibilityPkg/Compatibility/Library/UefiLanguageLib/UefiLanguageLib.inf\r
199 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
200 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
201 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf\r
202 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
203\r
204 #\r
205 # CPU\r
206 #\r
207 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
208 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r
209 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf\r
210\r
211 #\r
212 # ICH\r
213 #\r
214 SmbusLib|$(PLATFORM_PACKAGE)/Library/SmbusLib/SmbusLib.inf\r
215 SmmLib|$(PLATFORM_PACKAGE)/Library/PchSmmLib/PchSmmLib.inf\r
216\r
217 #\r
218 # Platform\r
219 #\r
220 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf\r
221 ResetSystemLib|$(PLATFORM_PACKAGE)/Library/ResetSystemLib/ResetSystemLib.inf\r
222\r
223 PlatformCmosLib|$(PLATFORM_PACKAGE)/Library/PlatformCmosLib/PlatformCmosLib.inf\r
224\r
225 #\r
226 # Misc\r
227 #\r
228 MonoStatusCodeLib|$(PLATFORM_PACKAGE)/MonoStatusCode/MonoStatusCode.inf\r
229!if $(TARGET) == RELEASE\r
230 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
231 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
232!else\r
e2df7a3d
MK
233 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
234 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf\r
5e752084 235!endif\r
236\r
237 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
238 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
239!if $(TPM_ENABLED) == TRUE\r
240 TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf\r
241 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf\r
242 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
243\r
244!endif\r
245\r
246!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
247 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
248 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
249 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf\r
250 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf\r
251!else\r
252 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
253 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
254!endif\r
255\r
256 #\r
257 # CryptLib\r
258 #\r
259!if $(TPM_ENABLED) == TRUE\r
260 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
261 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
262!endif\r
263\r
264 BiosIdLib|$(PLATFORM_PACKAGE)/Library/BiosIdLib/BiosIdLib.inf\r
265 CpuIA32Lib|$(PLATFORM_PACKAGE)/Library/CpuIA32Lib/CpuIA32Lib.inf\r
266\r
267 StallSmmLib|$(PLATFORM_PACKAGE)/Library/StallSmmLib/StallSmmLib.inf\r
268\r
269!if $(SECURE_BOOT_ENABLE) == TRUE\r
270 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
271 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
272 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf\r
273 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
274 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
275 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
276!else\r
277 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
278 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
279!endif\r
280 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
281!if $(RC_BINARY_RELEASE) == TRUE\r
282 I2cLib|Vlv2TbltDevicePkg/Library/I2CLib/I2CLibNull.inf\r
283!endif\r
284 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r
285 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
286 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
287 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
288!if $(FTPM_ENABLE) == TRUE\r
289 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
290 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
291 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
292!endif\r
293 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
2e886a2e 294 Tcg2PhysicalPresenceLib|SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf\r
2e886a2e 295 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf\r
5e752084 296\r
297\r
298 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf\r
299!if $(MINNOW2_FSP_BUILD) == TRUE\r
300 FspApiLib|IntelFspWrapperPkg/Library/BaseFspApiLib/BaseFspApiLib.inf\r
301 FspPlatformInfoLib|IntelFspWrapperPkg/Library/BaseFspPlatformInfoLibSample/BaseFspPlatformInfoLibSample.inf\r
302 FspPlatformSecLib|Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/FspPlatformSecLibVlv2.inf\r
303 FspHobProcessLib|Vlv2TbltDevicePkg/FspSupport/Library/PeiFspHobProcessLibVlv2/FspHobProcessLibVlv2.inf\r
304!endif\r
305\r
98a88a76
KM
306 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r
307\r
5e752084 308[LibraryClasses.IA32.SEC]\r
309!if $(PERFORMANCE_ENABLE) == TRUE\r
310 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
311!endif\r
312 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
313 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
314\r
315[LibraryClasses.IA32.PEIM, LibraryClasses.IA32.PEI_CORE, LibraryClasses.IA32.SEC]\r
316 #\r
317 # PEI phase common\r
318 #\r
319\r
320 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
321 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
322 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
323 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
324 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
325 MultiPlatformLib|$(PLATFORM_PACKAGE)/Library/MultiPlatformLib/MultiPlatformLib.inf\r
326 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
327\r
328\r
329!if $(PERFORMANCE_ENABLE) == TRUE\r
330 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
331 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf\r
332!endif\r
333\r
334!if $(TARGET) == RELEASE\r
335 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
336 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
337!else\r
e2df7a3d
MK
338 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
339 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf\r
5e752084 340!endif\r
341\r
342 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
343 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf\r
e2df7a3d
MK
344!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
345 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
346!endif\r
5e752084 347\r
348 !if $(MINNOW2_FSP_BUILD) == TRUE\r
349 PlatformFspLib|Vlv2TbltDevicePkg/Library/PlatformFspLib/PlatformFspLib.inf\r
350 !endif\r
351!if $(FTPM_ENABLE) == TRUE\r
352 Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCPei/Tpm2DeviceLibSeC.inf\r
353!endif\r
354\r
355[LibraryClasses.X64]\r
356 #\r
357 # DXE phase common\r
358 #\r
359 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
360 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
361 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
362 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
363 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
364\r
365 TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf\r
366!if $(TPM_ENABLED) == TRUE\r
367 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
368!endif\r
369\r
370 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf\r
371 EfiRegTableLib|$(PLATFORM_PACKAGE)/Library/EfiRegTableLib/EfiRegTableLib.inf\r
372\r
373!if $(SECURE_BOOT_ENABLE) == TRUE\r
374 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
375!endif\r
376\r
377 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf\r
378\r
379[LibraryClasses.X64.DXE_DRIVER]\r
98a88a76 380 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
5e752084 381 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
382 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
383 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
384!if $(PERFORMANCE_ENABLE) == TRUE\r
385 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
386 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf\r
387!endif\r
388\r
389!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
390 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
391!endif\r
392\r
c5a59080
JY
393 FlashDeviceLib|$(PLATFORM_PACKAGE)/Library/FlashDeviceLib/FlashDeviceLibDxe.inf\r
394\r
5e752084 395[LibraryClasses.X64.DXE_CORE]\r
396 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
397 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
398 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
399!if $(PERFORMANCE_ENABLE) == TRUE\r
400 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r
401 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf\r
402!endif\r
403\r
404!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
405 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
406!endif\r
407\r
408[LibraryClasses.X64.DXE_SMM_DRIVER]\r
409 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
410 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf\r
411 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
412 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf\r
413 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
414 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
f2ae1ef7
LS
415 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
416 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
5e752084 417\r
418 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
419 !if $(TARGET) != RELEASE\r
e2df7a3d 420 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
5e752084 421 !endif\r
422\r
423!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
424 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r
425 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf\r
426!endif\r
427 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
428\r
429[LibraryClasses.X64.SMM_CORE]\r
430 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
431 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
432 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf\r
433 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
434 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
435\r
436!if $(TPM_ENABLED) == TRUE\r
437 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
438!endif\r
439\r
440 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
441\r
442!if $(TARGET) != RELEASE\r
e2df7a3d 443 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
5e752084 444!endif\r
445\r
446[LibraryClasses.X64.DXE_RUNTIME_DRIVER]\r
447 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
448!if $(SECURE_BOOT_ENABLE) == TRUE\r
449 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
450!endif\r
451!if $(TPM_ENABLED) == TRUE\r
452 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
453!endif\r
454\r
455!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
456 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
457!endif\r
458\r
3d2b3be0 459!if $(CAPSULE_ENABLE) == TRUE\r
c5a59080
JY
460 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf\r
461!endif\r
462\r
5e752084 463[LibraryClasses.common.UEFI_DRIVER]\r
464 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
465\r
466!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
467 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
468!endif\r
469\r
470[LibraryClasses.X64.UEFI_APPLICATION]\r
471 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
472\r
473!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
474 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
475!endif\r
476\r
477\r
478################################################################################\r
479#\r
480# Library Section - list of all EDK/Framework libraries\r
481#\r
482################################################################################\r
483[Libraries.common]\r
484 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/BaseLib.inf\r
485 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseMemoryLib/BaseMemoryLib.inf\r
486 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePrintLib/BasePrintLib.inf\r
487 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
488 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
489 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
490 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
491 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciExpressLib/BasePciExpressLib.inf\r
492 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibCf8/BasePciLibCf8.inf\r
493 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r
494 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
495 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/BasePeCoffLib.inf\r
496 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/SmmRuntimeDxeReportStatusCodeLib/SmmRuntimeDxeReportStatusCodeLib.inf\r
497 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiHobLib/PeiHobLib.inf\r
498 EdkCompatibilityPkg/Foundation/Ppi/EdkPpiLib.inf\r
499 EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib.inf\r
500 EdkCompatibilityPkg/Compatibility/Library/UefiLanguageLib/UefiLanguageLib.inf\r
501 EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf\r
502 EdkCompatibilityPkg/Foundation/Efi/Protocol/EfiProtocolLib.inf\r
503 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiDriverLib.inf\r
504 EdkCompatibilityPkg/Foundation/Protocol/EdkProtocolLib.inf\r
505 EdkCompatibilityPkg/Foundation/Framework/Protocol/EdkFrameworkProtocolLib.inf\r
506[Libraries.IA32]\r
507 EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf\r
508 EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf\r
509 EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib.inf\r
510 EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib.inf\r
511 EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf\r
512 EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf\r
513 EdkCompatibilityPkg/Foundation/Library/Pei/Hob/PeiHobLib.inf\r
514 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointerLibMm7.inf\r
515 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
516 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesLib/PeiServicesLib.inf\r
517 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
518 EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf\r
519\r
520 $(PLATFORM_PACKAGE)/Library/MultiPlatformLib/MultiPlatformLib.inf\r
521[Libraries.X64]\r
522\r
523 EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf\r
524 EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf\r
525 EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib.inf\r
526 EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib.inf\r
527 EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf\r
528 EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf\r
529 EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf\r
530 EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/HobLib.inf\r
531 EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/EfiRuntimeLib.inf\r
532 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/EfiIfrSupportLib.inf\r
533 EdkCompatibilityPkg/Foundation/Library/Dxe/Print/PrintLib.inf\r
534 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.inf\r
535 EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/PrintLib.inf\r
536 EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Graphics.inf\r
537 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
538 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.inf\r
539 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiLib/UefiLib.inf\r
540 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeHobLib/DxeHobLib.inf\r
541 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
542 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
543 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/HiiLib/HiiLib.inf\r
544 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
545 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDriverModelLib/UefiDriverModelLib.inf\r
546 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
547 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeRuntimeDriverLib/EdkDxeRuntimeDriverLib.inf\r
548\r
549\r
550################################################################################\r
551#\r
552# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
553#\r
554################################################################################\r
555[PcdsFeatureFlag.common]\r
556!if $(MINI_BIOS_ENABLE) == FALSE\r
557 gPlatformModuleTokenSpaceGuid.PcdBdsDispatchAdditionalOprom|TRUE\r
558!else\r
559 gPlatformModuleTokenSpaceGuid.PcdBdsDispatchAdditionalOprom|FALSE\r
560!endif\r
561#\r
562# If PcdDxeIplSwitchToLongMode is TRUE, DxeIpl will load a 64-bit DxeCore and switch to long mode to hand over to DxeCore.\r
563#\r
564 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE\r
565\r
566 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserGrayOutTextStatement|TRUE\r
567\r
568!if $(CAPSULE_RESET_ENABLE) == TRUE\r
569 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE\r
570!else\r
571 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|FALSE\r
572!endif\r
573 gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport|TRUE\r
574 gEfiCpuTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE\r
575!if $(DATAHUB_STATUS_CODE_ENABLE) == TRUE\r
576 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseDataHub|TRUE\r
577!else\r
578 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseDataHub|FALSE\r
579!endif\r
580 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE\r
581!if $(TARGET) == RELEASE\r
582 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
583!else\r
584 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
585!endif\r
586 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE\r
587!if $(ISA_SERIAL_STATUS_CODE_ENABLE) == TRUE\r
588 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseIsaSerial|TRUE\r
589!else\r
590 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseIsaSerial|FALSE\r
591!endif\r
592!if $(USB_SERIAL_STATUS_CODE_ENABLE) == TRUE\r
593 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseUsbSerial|TRUE\r
594!else\r
595 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseUsbSerial|FALSE\r
596!endif\r
597!if $(RAM_SERIAL_STATUS_CODE_ENABLE) == TRUE\r
598 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseRam|TRUE\r
599!else\r
600 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseRam|FALSE\r
601!endif\r
602\r
603\r
604 ## This PCD specifies whether PS2 keyboard does a extended verification during start.\r
605 gEfiMdeModulePkgTokenSpaceGuid.PcdPs2KbdExtendedVerification|FALSE\r
606\r
607 ## This PCD specifies whether PS2 mouse does a extended verification during start.\r
608 gEfiMdeModulePkgTokenSpaceGuid.PcdPs2MouseExtendedVerification|FALSE\r
609\r
610!if $(VARIABLE_INFO_ENABLE) == TRUE\r
611 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|TRUE\r
612!else\r
613 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|FALSE\r
614!endif\r
615\r
616 gEfiCpuTokenSpaceGuid.PcdCpuSmmBlockStartupThisAp|TRUE\r
617\r
e2df7a3d
MK
618!if $(SOURCE_DEBUG_ENABLE)\r
619 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmDebug|TRUE\r
620!endif\r
621\r
5e752084 622[PcdsFixedAtBuild.common]\r
623!if $(MINNOW2_FSP_BUILD) == TRUE\r
624# $(FLASH_REGION_VLVMICROCODE_BASE)\r
625 gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchAddress|0xFFC00000\r
626# $(FLASH_REGION_VLVMICROCODE_SIZE)\r
627 gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize|0x00040000\r
628 gFspWrapperTokenSpaceGuid.PcdFlashMicroCodeOffset|0x60\r
629# $(FLASH_AREA_BASE_ADDRESS)\r
630 gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheAddress|0xFF800000\r
631# $(FLASH_AREA_SIZE)\r
632 gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheSize|0x00800000\r
633# $(FLASH_REGION_FSPBIN_BASE)\r
988715a3 634 gFspWrapperTokenSpaceGuid.PcdFlashFvFspBase|0xFFCC0000\r
5e752084 635!endif\r
636\r
637!if $(PERFORMANCE_ENABLE) == TRUE\r
638!if $(MINNOW2_FSP_BUILD) == TRUE\r
639 # in FSP, when this got used, the memory already is up\r
640 gEfiCpuTokenSpaceGuid.PcdTemporaryRamBase|0x00080000\r
641!else\r
642 gEfiCpuTokenSpaceGuid.PcdTemporaryRamBase|0xFEF80000\r
643!endif\r
644 gEfiCpuTokenSpaceGuid.PcdTemporaryRamSize|0x00010000\r
645\r
646!else\r
647 !if $(MINNOW2_FSP_BUILD) == TRUE\r
648 gEfiCpuTokenSpaceGuid.PcdTemporaryRamBase|0x00080000\r
649 !else\r
650 gEfiCpuTokenSpaceGuid.PcdTemporaryRamBase|0xFEF80000\r
651 !endif\r
652 gEfiCpuTokenSpaceGuid.PcdTemporaryRamSize|0x00010000\r
653 gEfiCpuTokenSpaceGuid.PcdPeiTemporaryRamStackSize|0x3C00\r
654!endif\r
655\r
656\r
657!if $(SECURE_BOOT_ENABLE) == TRUE\r
658 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x22000\r
659!else\r
660 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x4000\r
661!endif\r
662 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x00000800\r
663 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x400\r
664 gEfiCpuTokenSpaceGuid.PcdCpuIEDRamSize|0x400000\r
665 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize|0x10000\r
666 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|50\r
667 gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport|FALSE\r
668 gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport|FALSE\r
669 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported|128\r
670 gEfiCpuTokenSpaceGuid.PcdCpuSmmApSyncTimeout|1000\r
671!if $(S4_ENABLE) == TRUE\r
672 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|TRUE\r
673!else\r
674 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
675!endif\r
676!if $(TARGET) == RELEASE\r
677 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0\r
678 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x3\r
679!else\r
680 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
681 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
682!endif\r
683!if $(PERFORMANCE_ENABLE) == TRUE\r
684 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x1\r
685 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|60\r
686!endif\r
687\r
688 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdEbdaReservedMemorySize|0x10000\r
689 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|$(TOP_MEMORY_ADDRESS)\r
690 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserSubtitleTextColor|0x0\r
691 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserFieldTextColor|0x01\r
692 gEfiCpuTokenSpaceGuid.PcdCpuIEDEnabled|TRUE\r
693 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBiosVideoCheckVbeEnable|TRUE\r
694 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBiosVideoCheckVgaEnable|TRUE\r
695\r
696!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
697 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
698 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
699 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE\r
e2df7a3d 700 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|2\r
5e752084 701!endif\r
702\r
703[PcdsFixedAtBuild.IA32.PEIM, PcdsFixedAtBuild.IA32.PEI_CORE, PcdsFixedAtBuild.IA32.SEC]\r
704!if $(TARGET) == RELEASE\r
705 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0\r
706 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x3\r
707!else\r
708 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E\r
709 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
710!endif\r
711\r
c5a59080
JY
712!if $(RECOVERY_ENABLE)\r
713 gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName|L"VLV2REC.Cap"\r
714!endif\r
715\r
5e752084 716[PcdsPatchableInModule.common]\r
717 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803805c6\r
718 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x$(PLATFORM_PCIEXPRESS_BASE)\r
719 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLegacyBiosCacheLegacyRegion|FALSE\r
720\r
721 ## This PCD specifies whether to use the optimized timing for best PS2 detection performance.\r
722 # Note this PCD could be set to TRUE for best boot performance and set to FALSE for best device compatibility.\r
37e86e26 723 gEfiMdeModulePkgTokenSpaceGuid.PcdFastPS2Detection|TRUE\r
5e752084 724\r
725 #######################################################################################################\r
726 #\r
727 # Begin of MRC parameters\r
728 #\r
729\r
730 ## Memory Parameter Patchable.\r
731 # FALSE - MRC Parameters are fixed for MinnowBoard Max<BR>\r
732 # TRUE - MRC Parameters are patchable by following PCDs<BR>\r
733 # @Prompt Memory Parameter Patchable.\r
734 # @ValidList 0x80000001 | 0, 1\r
735 gVlvRefCodePkgTokenSpaceGuid.PcdMemoryParameterPatchable|FALSE\r
736\r
737 ## Memory Down or DIMM slot.\r
738 # 0 - DIMM<BR>\r
739 # 1 - Memory Down<BR>\r
740 # @Prompt Enable Memory Down\r
741 # @ValidList 0x80000001 | 0, 1\r
742 gVlvRefCodePkgTokenSpaceGuid.PcdEnableMemoryDown|1\r
743\r
744 ## The speed of DRAM.\r
745 # 0 - 800 MHz<BR>\r
746 # 1 - 1066 MHz<BR>\r
747 # 2 - 1333 MHz<BR>\r
748 # 3 - 1600 MHz<BR>\r
749 # @Prompt DRAM Speed\r
750 # @ValidList 0x80000001 | 0, 1, 2, 3\r
751 gVlvRefCodePkgTokenSpaceGuid.PcdDramSpeed|1\r
752\r
753 ## DRAM Type.\r
754 # 0 - DDR3<BR>\r
755 # 1 - DDR3L<BR>\r
756 # 2 - DDR3U<BR>\r
757 # 3 - DDR3All<BR>\r
758 # 4 - LPDDR2<BR>\r
759 # 5 - LPDDR3<BR>\r
760 # 6 - DDR4<BR>\r
761 # @Prompt DRAM Type\r
762 # @ValidList 0x80000001 | 0, 1, 2, 3, 4, 5, 6\r
763 gVlvRefCodePkgTokenSpaceGuid.PcdDramType|1\r
764\r
765 ## Please populate DIMM slot 0 if only one DIMM is supported.\r
766 # 0 - Disable<BR>\r
767 # 1 - Enable<BR>\r
768 # @Prompt DIMM 0 Enable\r
769 # @ValidList 0x80000001 | 0, 1\r
770 gVlvRefCodePkgTokenSpaceGuid.PcdEnableDimm0|1\r
771\r
772 ## DIMM 1 has to be identical to DIMM 0.\r
773 # 0 - Disable<BR>\r
774 # 1 - Enable<BR>\r
775 # @Prompt DIMM 1 Enable Type\r
776 # @ValidList 0x80000001 | 0, 1\r
777 gVlvRefCodePkgTokenSpaceGuid.PcdEnableDimm1|0\r
778\r
779 ## DRAM device data width.\r
780 # 0 - x8<BR>\r
781 # 1 - x16<BR>\r
782 # 2 - x32<BR>\r
783 # @Prompt DIMM_DWIDTH\r
784 # @ValidList 0x80000001 | 0, 1, 2\r
785 gVlvRefCodePkgTokenSpaceGuid.PcdDimmDataWidth|1\r
786\r
787 ## DRAM device data density.\r
788 # 0 - 1 Gbit<BR>\r
789 # 1 - 2 Gbit<BR>\r
790 # 2 - 4 Gbit<BR>\r
791 # 3 - 8 Gbit<BR>\r
792 # @Prompt DIMM_Density\r
793 # @ValidList 0x80000001 | 0, 1, 2, 3\r
794 gVlvRefCodePkgTokenSpaceGuid.PcdDimmDensity|2\r
795\r
796 ## DRAM device data bus width.\r
797 # 0 - 8 bits<BR>\r
798 # 1 - 16 bits<BR>\r
799 # 2 - 32 bits<BR>\r
800 # 3 - 64 bits<BR>\r
801 # @Prompt DIMM_BusWidth\r
802 # @ValidList 0x80000001 | 0, 1, 2, 3\r
803 gVlvRefCodePkgTokenSpaceGuid.PcdDimmBusWidth|3\r
804\r
805 ## Ranks Per DIMM or Sides Per DIMM.\r
806 # 0 - 1 Rank<BR>\r
807 # 1 - 2 Ranks<BR>\r
808 # @Prompt DIMM_Sides\r
809 # @ValidList 0x80000001 | 0, 1\r
810 gVlvRefCodePkgTokenSpaceGuid.PcdRankPerDimm|0\r
811\r
812 ## tCL.<BR><BR>\r
813 # @Prompt tCL\r
814 gVlvRefCodePkgTokenSpaceGuid.PcdTcl|11\r
815\r
816 ## tRP and tRCD in DRAM clk - 5:12.5ns, 6:15ns, etc.\r
817 # @Prompt tRP_tRCD\r
818 gVlvRefCodePkgTokenSpaceGuid.PcdTrpTrcd|11\r
819\r
820 ## tWR in DRAM clk.\r
821 # @Prompt tWR\r
822 gVlvRefCodePkgTokenSpaceGuid.PcdTwr|12\r
823\r
824 ## tWTR in DRAM clk.\r
825 # @Prompt tWTR\r
826 gVlvRefCodePkgTokenSpaceGuid.PcdTwtr|6\r
827\r
828 ## tRRD in DRAM clk.\r
829 # @Prompt tRRD\r
830 gVlvRefCodePkgTokenSpaceGuid.PcdTrrd|6\r
831\r
832 ## tRTP in DRAM clk.\r
833 # @Prompt tRTP\r
834 gVlvRefCodePkgTokenSpaceGuid.PcdTrtp|6\r
835\r
836 ## tFAW in DRAM clk.\r
837 # @Prompt tFAW\r
838 gVlvRefCodePkgTokenSpaceGuid.PcdTfaw|32\r
839\r
840 #\r
841 # End of MRC parameters.\r
842 #\r
843 ###############################################################################################\r
844\r
845[PcdsDynamicHii.common.DEFAULT]\r
846 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5 # Variable: L"Timeout"\r
847 gEfiMdePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|L"HwErrRecSupport"|gEfiGlobalVariableGuid|0x0|1 # Variable: L"HwErrRecSupport"\r
848 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBootState|L"BootState"|gEfiBootStateGuid|0x0|TRUE\r
849\r
850[PcdsDynamicDefault.common.DEFAULT]\r
851 gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0x0\r
852 !if $(TPM_ENABLED) == TRUE\r
853 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x7b, 0x3a, 0xcd, 0x72, 0xA5, 0xFE, 0x5e, 0x4f, 0x91, 0x65, 0x4d, 0xd1, 0x21, 0x87, 0xbb, 0x13}\r
854 !endif\r
5e752084 855\r
856 ## This PCD defines the video horizontal resolution.\r
857 # This PCD could be set to 0 then video resolution could be at highest resolution.\r
e2df7a3d
MK
858 #gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0\r
859 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
5e752084 860 ## This PCD defines the video vertical resolution.\r
861 # This PCD could be set to 0 then video resolution could be at highest resolution.\r
e2df7a3d
MK
862 #gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0\r
863 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
5e752084 864\r
865 ## This PCD defines the Console output column and the default value is 25 according to UEFI spec.\r
866 # This PCD could be set to 0 then console output could be at max column and max row.\r
867 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|31\r
868 ## This PCD defines the Console output row and the default value is 80 according to UEFI spec.\r
869 # This PCD could be set to 0 then console output could be at max column and max row.\r
870 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|100\r
871\r
872 ## The PCD is used to specify the video horizontal resolution of text setup.\r
873 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|800\r
874 ## The PCD is used to specify the video vertical resolution of text setup.\r
875 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|600\r
876 ## The PCD is used to specify the console output column of text setup.\r
877 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn|100\r
878 ## The PCD is used to specify the console output column of text setup.\r
879 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|31\r
880\r
881!if $(TPM_ENABLED) == TRUE\r
882 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1\r
883 gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1\r
884!endif\r
885\r
886[PcdsDynamicExDefault.common.DEFAULT]\r
887 gEfiVLVTokenSpaceGuid.PcdTCSmbaIoBaseAddress|0x1040\r
888 gEfiVLVTokenSpaceGuid.PcdEmmcManufacturerId|0\r
889 gEfiVLVTokenSpaceGuid.PcdProductSerialNumber|0\r
890 gEfiVLVTokenSpaceGuid.PcdMeasuredBootEnable|TRUE\r
891 gEfiVLVTokenSpaceGuid.PcdFTPMErrorOccur|FALSE\r
892 gEfiVLVTokenSpaceGuid.PcdFTPMErrorSkip|FALSE\r
893 gEfiVLVTokenSpaceGuid.PcdFTPMCommand|0\r
894 gEfiVLVTokenSpaceGuid.PcdFTPMResponse|0\r
895 gEfiVLVTokenSpaceGuid.PcdFTPMNotRespond|FALSE\r
896 gEfiVLVTokenSpaceGuid.PcdFTPMStatus|0\r
897 gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateSmmDataPtr|0\r
898 gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0\r
899 gEfiCpuTokenSpaceGuid.PcdCpuS3DataAddress|0\r
900 gEfiCpuTokenSpaceGuid.PcdCpuHotPlugDataAddress|0\r
901 gEfiCpuTokenSpaceGuid.PcdCpuCallbackSignal|0\r
902 gEfiCpuTokenSpaceGuid.PcdCpuConfigContextBuffer|0\r
903 gEfiVLVTokenSpaceGuid.PcdCpuLockBoxDataAddress|0\r
904 gEfiVLVTokenSpaceGuid.PcdCpuSmramCpuDataAddress|0\r
905 gEfiVLVTokenSpaceGuid.PcdCpuLockBoxSize|0\r
906\r
c5a59080
JY
907!if $(CAPSULE_ENABLE) || $(RECOVERY_ENABLE)\r
908 gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareImageDescriptor|{0x0}|VOID*|0x100\r
909 gEfiMdeModulePkgTokenSpaceGuid.PcdSystemFmpCapsuleImageTypeIdGuid|{0x7b, 0x26, 0x96, 0x40, 0x0a, 0xda, 0xeb, 0x42, 0xb5, 0xeb, 0xfe, 0xf3, 0x1d, 0x20, 0x7c, 0xb4}\r
910 gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareFileGuid|{0xb2, 0x9e, 0x9c, 0xaf, 0xad, 0x12, 0x3e, 0x4d, 0xa4, 0xd4, 0x96, 0xf6, 0xc9, 0x96, 0x62, 0x15}\r
911!endif\r
912\r
5e752084 913[Components.IA32]\r
914\r
915 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/SecCore.inf\r
916\r
917 !if $(MINNOW2_FSP_BUILD) == TRUE\r
918 IntelFspWrapperPkg/FspWrapperSecCore/FspWrapperSecCore.inf {\r
919 !if $(TARGET) == DEBUG\r
920\r
921 <LibraryClasses>\r
922 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
923 !endif\r
924 }\r
925 Vlv2TbltDevicePkg/FspSupport/BootModePei/BootModePei.inf\r
926 IntelFspWrapperPkg/FspInitPei/FspInitPei.inf {\r
927 !if $(TARGET) == DEBUG\r
928 <LibraryClasses>\r
929 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
930 !endif\r
931 }\r
932 !endif\r
933\r
c5a59080
JY
934!if $(CAPSULE_ENABLE) || $(RECOVERY_ENABLE)\r
935 # FMP image decriptor\r
936 Vlv2TbltDevicePkg/Feature/Capsule/SystemFirmwareDescriptor/SystemFirmwareDescriptor.inf {\r
937 <LibraryClasses>\r
938 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
939 }\r
940!endif\r
941\r
5e752084 942 MdeModulePkg/Core/Pei/PeiMain.inf {\r
943!if $(TARGET) == DEBUG\r
944 <PcdsFixedAtBuild>\r
945 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E\r
946!endif\r
947 <PcdsPatchableInModule>\r
948 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046\r
5e752084 949 }\r
950\r
951 $(PLATFORM_PACKAGE)/MonoStatusCode/MonoStatusCode.inf {\r
952!if $(TARGET) == DEBUG\r
953 <PcdsFixedAtBuild>\r
954 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E\r
955!endif\r
956 }\r
957 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/MemoryInit.inf {\r
958 <PcdsPatchableInModule>\r
959 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046\r
960 <BuildOptions>\r
961 !if $(FTPM_ENABLE)==TRUE\r
962 *_*_IA32_CC_FLAGS = /D FTPM_ENABLE\r
963 !endif\r
964 }\r
965\r
966!if $(RC_BINARY_RELEASE) == TRUE\r
967 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/SeCUma.inf\r
968!endif\r
969\r
970!if $(FTPM_ENABLE) == TRUE\r
971$(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/fTPMInitPeim.inf\r
972!endif\r
973\r
974!if $(RC_BINARY_RELEASE) == TRUE\r
975 $(PLATFORM_PACKAGE)/PlatformPei/PlatformPei.inf {\r
976 <BuildOptions>\r
977 *_*_IA32_CC_FLAGS = -DRC_BINARY_RELEASE\r
978 !if $(TARGET) == DEBUG\r
979 <PcdsFixedAtBuild>\r
980 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E\r
981 !endif\r
982 }\r
983!endif\r
984\r
985!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
986 SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.inf{\r
987 <LibraryClasses>\r
988 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
989 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
990 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf\r
991 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf\r
992 }\r
993!endif\r
994\r
995!if $(FTPM_ENABLE) == TRUE\r
996 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/Tpm2DeviceSeCPei.inf\r
997!endif\r
998\r
999!if $(TPM_ENABLED) == TRUE\r
1000 SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf\r
1001 SecurityPkg/Tcg/TcgPei/TcgPei.inf {\r
1002 <LibraryClasses>\r
1003 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
1004 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
1005 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
1006}\r
1007!endif\r
1008\r
1009 $(PLATFORM_PACKAGE)/PlatformInitPei/PlatformInitPei.inf {\r
1010 <PcdsPatchableInModule>\r
1011 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803805c6\r
1012 <LibraryClasses>\r
1013!if $(TARGET) != RELEASE\r
e2df7a3d 1014 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
5e752084 1015!endif\r
1016 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
1017 }\r
1018 $(PLATFORM_PACKAGE)/FvInfoPei/FvInfoPei.inf\r
1019\r
1020 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/VlvInitPeim.inf\r
1021!if $(PCIESC_ENABLE) == TRUE\r
1022 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchEarlyInitPeim.inf {\r
1023 <PcdsPatchableInModule>\r
1024 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046\r
1025 }\r
1026!endif\r
1027 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchInitPeim.inf\r
1028\r
1029\r
1030 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchSmbusArpDisabled.inf\r
1031 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchSpiPeim.inf\r
1032 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PeiSmmAccess.inf\r
1033 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PeiSmmControl.inf\r
1034 MdeModulePkg/Universal/PCD/Pei/Pcd.inf\r
1035 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/CpuPeim.inf\r
1036 UefiCpuPkg/CpuIoPei/CpuIoPei.inf\r
1037 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf\r
1038 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/MpS3.inf\r
1039 EdkCompatibilityPkg/Compatibility/AcpiVariableHobOnSmramReserveHobThunk/AcpiVariableHobOnSmramReserveHobThunk.inf\r
98a88a76 1040# $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PiSmmCommunicationPei.inf\r
c5a59080
JY
1041\r
1042!if $(RECOVERY_ENABLE)\r
1043 #\r
1044 # Recovery\r
1045 #\r
1046 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchUsb.inf\r
1047 MdeModulePkg/Bus/Pci/EhciPei/EhciPei.inf\r
1048 MdeModulePkg/Bus/Usb/UsbBusPei/UsbBusPei.inf\r
1049 MdeModulePkg/Bus/Usb/UsbBotPei/UsbBotPei.inf\r
1050 FatPkg/FatPei/FatPei.inf\r
1051 MdeModulePkg/Universal/Disk/CdExpressPei/CdExpressPei.inf\r
1052 SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.inf {\r
1053 <LibraryClasses>\r
1054 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf\r
1055 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
1056 }\r
1057!endif\r
1058\r
5e752084 1059!if $(CAPSULE_ENABLE) == TRUE\r
1060 MdeModulePkg/Universal/CapsulePei/CapsulePei.inf\r
1061!endif\r
1062 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {\r
1063 <LibraryClasses>\r
1064!if $(LZMA_ENABLE) == TRUE\r
46d4b181 1065 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
5e752084 1066!endif\r
1067 }\r
1068\r
1069 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r
1070 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf\r
1071\r
1072!if $(FTPM_ENABLE) == TRUE\r
2e886a2e 1073 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {\r
5e752084 1074 <PcdsPatchableInModule>\r
1075 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046\r
1076 <LibraryClasses>\r
1077 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
1078 NULL|SecurityPkg/Library\HashInstanceLibSha1/HashInstanceLibSha1.inf\r
1079 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
1080 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
1081 }\r
1082!endif\r
1083!if $(TPM_ENABLED) == TRUE\r
2e886a2e 1084 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf {\r
5e752084 1085 <LibraryClasses>\r
1086 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
1087 }\r
1088!endif\r
1089!if $(ACPI50_ENABLE) == TRUE\r
1090 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTablePei/FirmwarePerformancePei.inf{\r
1091 <LibraryClasses>\r
1092 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf\r
1093 }\r
1094\r
1095!endif\r
1096!if $(PERFORMANCE_ENABLE) == TRUE\r
1097 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf\r
1098!endif\r
1099[Components.X64]\r
1100 !if $(MINNOW2_FSP_BUILD) == TRUE\r
1101 IntelFspWrapperPkg/FspNotifyDxe/FspNotifyDxe.inf {\r
1102 !if $(TARGET) == DEBUG\r
1103 <PcdsPatchableInModule>\r
1104 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046\r
1105 <LibraryClasses>\r
1106 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
1107 !endif\r
1108 }\r
1109\r
1110 !endif\r
1111 #\r
1112 # EDK II Related Platform codes\r
1113 #\r
1114 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
1115 <PcdsPatchableInModule>\r
1116 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046\r
1117 <LibraryClasses>\r
1118!if $(DXE_CRC32_SECTION_ENABLE) == TRUE\r
1119 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r
1120!endif\r
1121!if $(LZMA_ENABLE) == TRUE\r
46d4b181 1122 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
5e752084 1123!endif\r
1124!if $(TARGET) != RELEASE\r
1125 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
5e752084 1126!endif\r
1127 }\r
1128 IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3SaveDxe.inf {\r
1129 <PcdsPatchableInModule>\r
1130 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043\r
1131 <PcdsFixedAtBuild>\r
1132 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27\r
1133 <LibraryClasses>\r
1134 !if $(TARGET) != RELEASE\r
e2df7a3d 1135 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
5e752084 1136 !endif\r
1137 <BuildOptions>\r
1138 ICC:*_*_*_CC_FLAGS = -D MDEPKG_NDEBUG\r
9e9d9923 1139 GCC:RELEASE_*_*_CC_FLAGS = -D MDEPKG_NDEBUG\r
5e752084 1140 }\r
1141 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
1142 <LibraryClasses>\r
1143 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
1144 }\r
1145 IntelFrameworkModulePkg/Universal/CpuIoDxe/CpuIoDxe.inf\r
1146 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
1147\r
1148 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
1149 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {\r
1150 <LibraryClasses>\r
1151!if $(TARGET) != RELEASE\r
e2df7a3d 1152 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
5e752084 1153!endif\r
1154 }\r
1155\r
1156!if $(CAPSULE_ENABLE) == TRUE\r
1157 MdeModulePkg/Universal/CapsulePei/CapsuleX64.inf {\r
1158 <LibraryClasses>\r
e2df7a3d
MK
1159 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
1160 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
1161 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
1162!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
1163 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
1164!endif\r
5e752084 1165 }\r
1166!endif\r
1167\r
1168 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSmm.inf\r
1169 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf{\r
1170 <LibraryClasses>\r
1171!if $(SECURE_BOOT_ENABLE) == TRUE\r
1172 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
1173!endif\r
1174!if $(USER_IDENTIFICATION_ENABLE)\r
1175 NULL|SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf\r
1176!endif\r
1177!if $(TPM_ENABLED) == TRUE\r
1178 NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf\r
1179!endif\r
1180!if $(FTPM_ENABLE) == TRUE\r
1181 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf\r
1182!endif\r
1183 }\r
1184 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MpCpu.inf\r
1185 $(PLATFORM_PACKAGE)/Metronome/Metronome.inf\r
1186\r
1187 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf{\r
1188 <LibraryClasses>\r
1189 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
1190 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
1191 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
1192 PlatformBdsLib|$(PLATFORM_PACKAGE)/Library/PlatformBdsLib/PlatformBdsLib.inf\r
1193 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
1194 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
1195 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf\r
c5a59080
JY
1196!if $(CAPSULE_ENABLE)\r
1197 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf\r
1198!else\r
1199 FmpAuthenticationLib|MdeModulePkg/Library/FmpAuthenticationLibNull/FmpAuthenticationLibNull.inf\r
1200!endif\r
5e752084 1201 !if $(FTPM_ENABLE) == TRUE\r
1202 Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCDxe/Tpm2DeviceLibSeC.inf\r
1203 !else\r
58204afa 1204 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf\r
5e752084 1205 !endif\r
1206 }\r
1207\r
1208 $(PLATFORM_PACKAGE)/UiApp/UiApp.inf\r
1209\r
1210 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
1211 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
1212 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
1213 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
1214 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r
1215 <LibraryClasses>\r
1216 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
1217 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf\r
1218 }\r
1219 $(PLATFORM_PACKAGE)/FvbRuntimeDxe/FvbSmm.inf\r
1220 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
1221 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSpiSmm.inf\r
1222!if $(SECURE_BOOT_ENABLE) == TRUE\r
1223 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf {\r
1224 <LibraryClasses>\r
1225 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf\r
1226 <BuildOptions>\r
1227 #\r
1228 # Specify GUID gEfiIfrBootMaintenanceGuid, to install Secure Boot Configuration menu\r
1229 # into Boot Maintenance Manager menu\r
1230 #\r
1231 *_*_*_VFR_FLAGS = -g b2dedc91-d59f-48d2-898a-12490c74a4e0\r
1232 }\r
1233!endif\r
1234 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf {\r
1235 <LibraryClasses>\r
e2df7a3d 1236 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
5e752084 1237 }\r
1238\r
1239 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
1240 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
1241 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
1242\r
1243 $(PLATFORM_PACKAGE)/FvbRuntimeDxe/FvbRuntimeDxe.inf\r
1244\r
1245 $(PLATFORM_PACKAGE)/PlatformSetupDxe/PlatformSetupDxe.inf\r
1246\r
1247!if $(DATAHUB_ENABLE) == TRUE\r
1248 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf {\r
1249 <PcdsFixedAtBuild>\r
1250 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0\r
1251 }\r
1252!endif\r
1253 IntelFrameworkModulePkg/Universal/StatusCode/DatahubStatusCodeHandlerDxe/DatahubStatusCodeHandlerDxe.inf\r
1254 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
1255 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchS3SupportDxe.inf\r
1256 !if $(USE_HPET_TIMER) == TRUE\r
1257 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf\r
1258 !else\r
1259 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmartTimer.inf\r
1260 !endif\r
1261 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmmControl.inf\r
1262\r
1263 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSmbusDxe.inf\r
1264 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/IntelPchLegacyInterrupt.inf\r
1265 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchReset.inf\r
1266 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchInitDxe.inf{\r
1267 <PcdsPatchableInModule>\r
1268 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043\r
1269 }\r
1270 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSmiDispatcher.inf\r
1271\r
1272!if $(PCIESC_ENABLE) == TRUE\r
1273 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchPcieSmm.inf\r
1274!endif\r
1275 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSpiRuntime.inf\r
1276 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchPolicyInitDxe.inf\r
1277 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchBiosWriteProtect.inf\r
1278 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmmAccess.inf\r
1279 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PciHostBridge.inf\r
1280 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/VlvInitDxe.inf\r
1281\r
1282 IntelFrameworkModulePkg/Universal/LegacyRegionDxe/LegacyRegionDxe.inf\r
1283\r
7a0e4f8e
RN
1284 #\r
1285 # Performance Application; Set PERFORMANCE_ENABLE=TRUE for normal boot performance and smm performance data\r
1286 #\r
1287!if $(PERFORMANCE_ENABLE) == TRUE\r
1288 ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {\r
1289 <PcdsFixedAtBuild>\r
1290 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
1291 <LibraryClasses>\r
1292 PerformanceLib|MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmmPerformanceLib.inf\r
5e752084 1293 }\r
7a0e4f8e 1294!endif\r
5e752084 1295\r
1296 Vlv2TbltDevicePkg/VlvPlatformInitDxe/VlvPlatformInitDxe.inf{\r
1297 <LibraryClasses>\r
1298!if $(TARGET) != RELEASE\r
e2df7a3d 1299 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
5e752084 1300!endif\r
1301 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
1302 }\r
1303\r
1304 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/Dptf.inf\r
1305 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PnpDxe.inf\r
1306\r
1307!if $(SEC_ENABLE) == TRUE\r
1308 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/HeciDrv.inf {\r
1309!if $(SEC_DEBUG_INFO_ENABLE) == TRUE\r
1310 <BuildOptions>\r
1311 *_*_X64_CC_FLAGS = /DSEC_DEBUG_INFO=1\r
1312!else\r
1313 <BuildOptions>\r
1314 *_*_X64_CC_FLAGS = /DSEC_DEBUG_INFO=0\r
1315!endif\r
1316 }\r
1317\r
1318 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SeCPolicyInitDxe.inf\r
1319!endif\r
1320\r
1321!if $(FTPM_ENABLE) == TRUE\r
1322 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/Tpm2DeviceSeCDxe.inf\r
1323 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf\r
2e886a2e 1324 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf{\r
5e752084 1325 <LibraryClasses>\r
1326 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf\r
1327 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf\r
1328 PcdLib|MdePkg/Library\DxePcdLib/DxePcdLib.inf\r
1329 Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCDxe/Tpm2DeviceLibSeC.inf\r
1330 }\r
1331 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/FtpmSmm.inf\r
1332!endif\r
1333!if $(TPM_ENABLED) == TRUE\r
2e886a2e 1334 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf {\r
5e752084 1335 <LibraryClasses>\r
1336 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
1337 }\r
1338\r
1339 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {\r
1340 <LibraryClasses>\r
1341 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
1342 <BuildOptions>\r
1343 #\r
1344 # specify GUID gEfiIfrNotInTPVPageGuid, this page will not\r
1345 # be showed in TPV page.\r
1346 #\r
1347 *_*_*_VFR_FLAGS = -g e58809f8-fbc1-48e2-883a-a30fdc4b441e\r
1348 }\r
1349\r
1350 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {\r
1351 <LibraryClasses>\r
1352 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
1353 }\r
1354 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf\r
1355!endif\r
1356 #\r
1357 # EDK II Related Platform codes\r
1358 #\r
1359 $(PLATFORM_PACKAGE)/PlatformSmm/PlatformSmm.inf{\r
1360 <LibraryClasses>\r
1361 !if $(TARGET) != RELEASE\r
e2df7a3d 1362 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
5e752084 1363 !endif\r
1364 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
1365 }\r
1366 $(PLATFORM_PACKAGE)/PlatformInfoDxe/PlatformInfoDxe.inf\r
1367 $(PLATFORM_PACKAGE)/PlatformCpuInfoDxe/PlatformCpuInfoDxe.inf\r
1368 $(PLATFORM_PACKAGE)/PlatformDxe/PlatformDxe.inf\r
1369\r
1370 $(PLATFORM_PACKAGE)/PciPlatform/PciPlatform.inf\r
1371 $(PLATFORM_PACKAGE)/SaveMemoryConfig/SaveMemoryConfig.inf\r
1372 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PlatformCpuPolicy.inf\r
1373 $(PLATFORM_PACKAGE)/PpmPolicy/PpmPolicy.inf\r
1374 $(PLATFORM_PACKAGE)/SmramSaveInfoHandlerSmm/SmramSaveInfoHandlerSmm.inf\r
1375!if $(GOP_DRIVER_ENABLE) == TRUE\r
1376 $(PLATFORM_PACKAGE)/PlatformGopPolicy/PlatformGopPolicy.inf\r
1377\r
1378!endif\r
1379\r
1380\r
1381 #\r
1382 # SMM\r
1383 #\r
1384 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
e2df7a3d 1385 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
f2ae1ef7 1386 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf\r
5e752084 1387 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
1388 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf\r
f2ae1ef7 1389 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf\r
5e752084 1390 $(PLATFORM_PACKAGE)/SmmSwDispatch2OnSmmSwDispatchThunk/SmmSwDispatch2OnSmmSwDispatchThunk.inf\r
1391 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PowerManagement2.inf\r
1392 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/DigitalThermalSensor.inf\r
1393\r
1394 #\r
1395 # ACPI\r
1396 #\r
1397 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf {\r
1398 <PcdsPatchableInModule>\r
1399 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043\r
1400 <PcdsFixedAtBuild>\r
1401 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27\r
1402 <LibraryClasses>\r
1403 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
1404 }\r
1405\r
1406 $(PLATFORM_PACKAGE)/BootScriptSaveDxe/BootScriptSaveDxe.inf\r
1407 IntelFrameworkModulePkg/Universal/Acpi/AcpiSupportDxe/AcpiSupportDxe.inf\r
1408 Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/PowerManagement/AcpiTables/PowerManagementAcpiTables.inf\r
1409\r
1410 $(PLATFORM_RC_PACKAGE)/AcpiTablesPCAT/AcpiTables.inf\r
1411\r
1412 $(PLATFORM_PACKAGE)/AcpiPlatform/AcpiPlatform.inf\r
1413\r
98a88a76
KM
1414 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
1415\r
5e752084 1416 #\r
1417 # PCI\r
1418 #\r
1419 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r
1420\r
1421\r
1422 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/ISPDxe.inf\r
1423\r
1424\r
1425#\r
1426# ISA\r
1427#\r
1428 $(PLATFORM_PACKAGE)/Wpce791/Wpce791.inf\r
1429 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
1430 IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/IsaIoDxe.inf\r
1431 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
1432 IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf\r
1433 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
1434#\r
1435# SDIO\r
1436#\r
98a88a76
KM
1437# $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MmcHost.inf\r
1438# $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MmcMediaDevice.inf\r
5e752084 1439!if $(ACPI50_ENABLE) == TRUE\r
1440 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf {\r
1441 <LibraryClasses>\r
1442 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf\r
1443 }\r
1444 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceSmm.inf {\r
1445 <LibraryClasses>\r
1446 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf\r
1447 }\r
1448!endif\r
1449\r
1450#\r
1451# IDE/SCSI/AHCI\r
1452#\r
1453 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
1454 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf\r
1455 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
1456 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
1457 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
1458 FatPkg/EnhancedFatDxe/Fat.inf\r
1459!if $(SATA_ENABLE) == TRUE\r
1460 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SataController.inf\r
1461!endif\r
1462 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
1463!if $(SCSI_ENABLE) == TRUE\r
1464 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
1465 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
1466!endif\r
1467#\r
1468# Console\r
1469#\r
1470 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
1471 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
1472 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
1473 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf\r
1474 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
1475 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
1476 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
1477 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
1478\r
1479 #\r
1480 # USB\r
1481 #\r
1482!if $(USB_ENABLE) == TRUE\r
1483 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
1484 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
1485 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
1486 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
1487 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
1488 MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf\r
1489 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
1490\r
1491!endif\r
1492\r
1493 #\r
1494 # ECP\r
1495 #\r
1496 EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/FrameworkHiiOnUefiHiiThunk.inf\r
1497 EdkCompatibilityPkg/Compatibility/LegacyRegion2OnLegacyRegionThunk/LegacyRegion2OnLegacyRegionThunk.inf\r
1498 EdkCompatibilityPkg/Compatibility/SmmBaseOnSmmBase2Thunk/SmmBaseOnSmmBase2Thunk.inf\r
1499 EdkCompatibilityPkg/Compatibility/SmmBaseHelper/SmmBaseHelper.inf\r
1500 EdkCompatibilityPkg/Compatibility/SmmAccess2OnSmmAccessThunk/SmmAccess2OnSmmAccessThunk.inf\r
1501 EdkCompatibilityPkg/Compatibility/SmmControl2OnSmmControlThunk/SmmControl2OnSmmControlThunk.inf\r
1502 EdkCompatibilityPkg/Compatibility/FrameworkSmmStatusCodeOnPiSmmStatusCodeThunk/FrameworkSmmStatusCodeOnPiSmmStatusCodeThunk.inf\r
1503 EdkCompatibilityPkg/Compatibility/FvOnFv2Thunk/FvOnFv2Thunk.inf\r
1504 #\r
1505 # SMBIOS\r
1506 #\r
1507 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
1508 $(PLATFORM_PACKAGE)/SmBiosMiscDxe/SmBiosMiscDxe.inf\r
1509\r
1510 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmbiosMemory.inf\r
1511 #\r
1512 # CPU/FW Microde\r
1513 #\r
1514 Vlv2MiscBinariesPkg/Microcode/MicrocodeUpdates.inf {\r
1515 <BuildOptions>\r
1516 *_*_*_GENFW_FLAGS = -a 0x800 -p 0xFF\r
1517 }\r
1518\r
1519\r
1520 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
1521\r
1522\r
1523!if $(NETWORK_ENABLE) == TRUE\r
1524 !if $(NETWORK_ISCSI_ENABLE) == TRUE\r
1525 !if $(NETWORK_IP6_ENABLE) == TRUE\r
1526 NetworkPkg/IScsiDxe/IScsiDxe.inf\r
1527 !else\r
1528 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
1529 !endif\r
1530 !endif\r
1531 !if $(NETWORK_VLAN_ENABLE) == TRUE\r
1532 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
1533 !endif\r
1534 !if $(CSM_ENABLE) == TRUE\r
1535 IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/Snp16Dxe.inf\r
1536 !endif\r
1537!endif\r
1538\r
1539!if $(NETWORK_ENABLE) == TRUE\r
1540 #\r
1541 # UEFI network modules\r
1542 #\r
1543 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
1544 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf\r
1545\r
1546 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
1547 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
1548 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
1549 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
1550 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
1551 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf {\r
1552 <PcdsPatchableInModule>\r
1553 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r
1554 }\r
1555 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
1556 !if $(NETWORK_IP6_ENABLE) == TRUE\r
1557 NetworkPkg/Ip6Dxe/Ip6Dxe.inf\r
1558 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf\r
1559 NetworkPkg/IpSecDxe/IpSecDxe.inf\r
1560 NetworkPkg/TcpDxe/TcpDxe.inf\r
1561 NetworkPkg/Udp6Dxe/Udp6Dxe.inf\r
1562 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf\r
1563 !endif\r
1564 !if $(NETWORK_IP6_ENABLE) == TRUE\r
1565 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
1566 !else\r
1567 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
1568 !endif\r
1569!endif\r
1570\r
1571 Vlv2TbltDevicePkg/Application/FirmwareUpdate/FirmwareUpdate.inf\r
1572\r
c5a59080 1573!if $(CAPSULE_ENABLE) || $(MICOCODE_CAPSULE_ENABLE)\r
54024039 1574 MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmpDxe.inf\r
c5a59080
JY
1575 MdeModulePkg/Application/CapsuleApp/CapsuleApp.inf\r
1576!endif\r
1577\r
1578!if $(CAPSULE_ENABLE)\r
1579 SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareReportDxe.inf {\r
1580 <LibraryClasses>\r
1581 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
1582 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
1583 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf\r
1584 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf\r
1585 }\r
1586 SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareUpdateDxe.inf {\r
1587 <LibraryClasses>\r
1588 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
1589 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
1590 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf\r
1591 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf\r
1592 }\r
1593!endif\r
1594\r
1595!if $(MICOCODE_CAPSULE_ENABLE)\r
1596 UefiCpuPkg/Feature/Capsule/MicrocodeUpdateDxe/MicrocodeUpdateDxe.inf {\r
1597 <LibraryClasses>\r
1598 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
1599 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
1600 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf\r
1601 }\r
1602!endif\r
1603\r
5e752084 1604[BuildOptions]\r
1605#\r
1606# Define Build Options both for EDK and EDKII drivers.\r
1607#\r
1608\r
1609#\r
1610# Define token for different Platform\r
1611#\r
1612!if $(MINNOW2_FSP_BUILD) == TRUE\r
1613 DEFINE MINNOW2_FSP_OPTION = -DMINNOW2_FSP_BUILD\r
1614!else\r
1615 DEFINE MINNOW2_FSP_OPTION =\r
1616!endif\r
1617\r
1618!if $(ENBDT_PF_BUILD) == TRUE\r
1619 DEFINE ENBDT_PF_ENABLE = -DENBDT_PF_ENABLE=1\r
1620!else\r
1621 DEFINE ENBDT_PF_ENABLE = -DENBDT_PF_ENABLE=0\r
1622!endif\r
1623\r
1624\r
1625!if $(CLKGEN_CONFIG_EXTRA_ENABLE) == TRUE\r
1626 DEFINE CLKGEN_CONFIG_EXTRA_BUILD_OPTION = -DCLKGEN_CONFIG_EXTRA=1\r
1627!else\r
1628 DEFINE CLKGEN_CONFIG_EXTRA_BUILD_OPTION =\r
1629!endif\r
1630\r
1631\r
1632\r
1633!if $(PCIESC_ENABLE) == TRUE\r
1634 DEFINE PCIESC_SUPPORT_BUILD_OPTION = -DPCIESC_SUPPORT=1\r
1635!else\r
1636 DEFINE PCIESC_SUPPORT_BUILD_OPTION =\r
1637!endif\r
1638!if $(SATA_ENABLE) == TRUE\r
1639 DEFINE SATA_SUPPORT_BUILD_OPTION = -DSATA_SUPPORT=1\r
1640!else\r
1641 DEFINE SATA_SUPPORT_BUILD_OPTION =\r
1642!endif\r
1643!if $(ENBDT_S3_SUPPORT) == TRUE\r
1644 DEFINE ENBDT_S3_SUPPORT_OPTIONS = -DNOCS_S3_SUPPORT\r
1645!else\r
1646 DEFINE ENBDT_S3_SUPPORT_OPTIONS =\r
1647!endif\r
1648\r
1649!if $(X64_CONFIG) == TRUE\r
1650 DEFINE X64_BUILD_ENABLE = -DX64_BUILD_ENABLE=1\r
1651!else\r
1652 DEFINE X64_BUILD_ENABLE =\r
1653!endif\r
1654\r
1655!if $(FTPM_ENABLE) == TRUE\r
1656 DEFINE DSC_FTPM_BUILD_OPTIONS = -DFTPM_ENABLE\r
1657!else\r
1658 DEFINE DSC_FTPM_BUILD_OPTIONS =\r
1659!endif\r
1660!if $(TPM_ENABLED) == TRUE\r
1661 DEFINE DSC_TPM_BUILD_OPTIONS = -DTPM_ENABLED\r
1662!else\r
1663 DEFINE DSC_TPM_BUILD_OPTIONS =\r
1664!endif\r
1665\r
1666\r
1667 DEFINE EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS = $(MINNOW2_FSP_OPTION) $(MINNOW2_BUILD_OPTION) $(ENBDT_PF_ENABLE) $(EXTERNAL_VGA_BUILD_OPTION) $(PCIE_ENUM_WA_BUILD_OPTION) $(X0_WA_ENABLE_BUILD_OPTION) $(A0_WA_ENABLE_BUILD_OPTION) $(MICROCODE_FREE_BUILD_OPTIONS) $(SIMICS_BUILD_OPTIONS) $(HYBRID_BUILD_OPTIONS) $(COMPACT_BUILD_OPTIONS) $(VP_BUILD_OPTIONS) $(SYSCTL_ID_BUILD_OPTION) $(CLKGEN_CONFIG_EXTRA_BUILD_OPTION) $(SYSCTL_X0_CONVERT_BOARD_OPTION) $(ENBDT_S3_SUPPORT_OPTIONS) $(SATA_SUPPORT_BUILD_OPTION) $(PCIESC_SUPPORT_BUILD_OPTION) $(DSC_FTPM_BUILD_OPTIONS) $(DSC_FTPM_ERROR_WR_BUILD_OPTIONS) $(DSC_TPM_BUILD_OPTIONS) $(DSC_BYTI_SECURE_BOOT_BUILD_OPTIONS)\r
1668!if $(PERFORMANCE_ENABLE) == TRUE\r
1669 DEFINE PDB_BUILD_OPTION = /Zi\r
1670!endif\r
1671\r
1672 GCC:*_*_*_CC_FLAGS = -Wno-missing-braces\r
1673!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
1674 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
1675 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
1676 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
e2df7a3d
MK
1677 DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS =\r
1678!else\r
1679 DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS =\r
1680\r
5e752084 1681!endif\r
1682\r
eee350c0
MK
1683#\r
1684# Force PE/COFF sections to be aligned at 4KB boundaries to support page level\r
1685# protection of DXE_RUNTIME_DRIVER modules\r
1686#\r
1687[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r
1688 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096\r
1689 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
1690\r
1691#\r
1692# Force PE/COFF sections to be aligned at 4KB boundaries to support page level\r
1693# protection of DXE_SMM_DRIVER/SMM_CORE modules\r
1694#\r
1695[BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]\r
1696 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096\r
1697 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
1698\r
5e752084 1699[BuildOptions.Common.EDK]\r
1700\r
1701#\r
1702# Define token for different Platform\r
1703#\r
1704!if $(ENBDT_PF_BUILD) == TRUE\r
1705 DEFINE ENBDT_PF_ENABLE = -DENBDT_PF_ENABLE=1\r
1706!else\r
1707 DEFINE ENBDT_PF_ENABLE = -DENBDT_PF_ENABLE=0\r
1708!endif\r
1709\r
1710!if $(PERFORMANCE_ENABLE) == TRUE\r
1711 RELEASE_*_*_DLINK_FLAGS = -DEBUG\r
1712!endif\r
1713\r
1714!if $(S3_ENABLE) == TRUE\r
1715 DEFINE DSC_S3_BUILD_OPTIONS = -DEFI_S3_RESUME\r
1716!else\r
1717 DEFINE DSC_S3_BUILD_OPTIONS =\r
1718!endif\r
1719\r
1720!if $(ENBDT_S3_SUPPORT) == TRUE\r
1721 DEFINE ENBDT_S3_SUPPORT_OPTIONS = -DNOCS_S3_SUPPORT\r
1722!else\r
1723 DEFINE ENBDT_S3_SUPPORT_OPTIONS =\r
1724!endif\r
1725\r
1726!if $(X64_CONFIG) == TRUE\r
1727 DEFINE X64_BUILD_ENABLE = -DX64_BUILD_ENABLE=1\r
1728!else\r
1729 DEFINE X64_BUILD_ENABLE =\r
1730!endif\r
1731\r
1732\r
1733 DEFINE EDK_GLUE_LIB_DEBUG =\r
1734 DEFINE DEBUG_BUILD_OPTIONS = -D EFI_DEBUG -D DEBUG_MODE=1 /GL- $(EDK_GLUE_LIB_DEBUG) -DEDKII_GLUE_DebugPrintErrorLevel=(EFI_D_ERROR)\r
1735 DEFINE EDK_DSC_FEATURE_BUILD_OPTIONS = $(DSC_S3_BUILD_OPTIONS) $(DSC_ACPI_BUILD_OPTIONS) $(DSC_SEC_BUILD_OPTIONS) $(DSC_FTPM_BUILD_OPTIONS) $(DSC_FTPM_ERROR_WR_BUILD_OPTIONS) $(DSC_TPM_BUILD_OPTIONS) $(SOFTSDV_BUILD_OPTIONS) $(SIMICS_BUILD_OPTIONS) $(HYBRID_BUILD_OPTIONS) $(COMPACT_BUILD_OPTIONS) $(VP_BUILD_OPTIONS) $(QT_BUILD_OPTIONS) $(DSC_BYTI_SECURE_BOOT_BUILD_OPTIONS) -D$(PROJECT_SC_CHIPSET)\r
1736\r
1737 DEFINE EDK_DSC_OTHER_BUILD_OPTIONS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS) $(SV_BUILD_OPTIONS) $(INTEL_FASTBOOT_BUILD_OPTION)\r
1738 DEFINE EDK_DSC_GLOBAL_BUILD_OPTIONS = $(ENBDT_PF_ENABLE) $(EDK_DSC_FEATURE_BUILD_OPTIONS) $(EDK_DSC_OTHER_BUILD_OPTIONS) -D EFI_SPECIFICATION_VERSION=0x00020000 -D PI_SPECIFICATION_VERSION=0x00000009 -D TIANO_RELEASE_VERSION=0x00080006 -D SUPPORT_DEPRECATED_PCI_CFG_PPI -D CSM_SMMENTRY_PORT8DATA8 -D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE) -D MAX_VARIABLE_SIZE=0x2000 -D EFI_FIRMWARE_VENDOR="L/"INTEL/"" -D EFI_BUILD_VERSION="L/"EDKII/"" -DEFI_PEI_REPORT_STATUS_CODE_ON $(ENBDT_S3_SUPPORT_OPTIONS)\r
1739\r
1740 *_*_IA32_ASM_FLAGS = -DEFI32 -D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h -DNOCS_S3_SUPPORT\r
1741 DEBUG_*_IA32_CC_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)\r
1742 RELEASE_*_IA32_CC_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)\r
1743 DEBUG_*_IA32_VFRPP_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)\r
1744 RELEASE_*_IA32_VFRPP_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)\r
1745 DEBUG_*_IA32_APP_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)\r
1746 RELEASE_*_IA32_APP_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)\r
1747 DEBUG_*_IA32_PP_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)\r
1748 RELEASE_*_IA32_PP_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)\r
1749 *_*_IA32_ASLPP_FLAGS = -D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)\r
1750 *_*_IA32_ASLCC_FLAGS = -D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)\r
1751 *_*_IA32_ASM16_FLAGS = -D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h\r
1752\r
1753 *_*_X64_ASM_FLAGS = -DEFIX64 -D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h -DNOCS_S3_SUPPORT\r
1754 DEBUG_*_X64_CC_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)\r
1755 RELEASE_*_X64_CC_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)\r
1756 DEBUG_*_X64_VFRPP_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)\r
1757 RELEASE_*_X64_VFRPP_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)\r
1758 DEBUG_*_X64_APP_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)\r
1759 RELEASE_*_X64_APP_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)\r
1760 DEBUG_*_X64_PP_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)\r
1761 RELEASE_*_X64_PP_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)\r
1762 *_*_X64_ASLPP_FLAGS = -D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)\r
1763 *_*_X64_ASLCC_FLAGS = -D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)\r
1764 *_*_X64_ASM16_FLAGS = -D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h\r
1765 # *_*_*_BUILD_FLAGS = -s\r
1766 *_*_*_VFR_FLAGS = -c\r
1767 *_*_*_BUILD_FLAGS = -c\r
1768\r
1769[BuildOptions.Common.EDKII]\r
1770 *_*_IA32_ASM_FLAGS = $(VP_BUILD_OPTIONS) -D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h -DNOCS_S3_SUPPORT\r
1771\r
1772 *_*_IA32_CC_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)\r
1773 *_*_IA32_VFRPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)\r
1774 *_*_IA32_APP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)\r
1775 *_*_IA32_PP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)\r
1776 *_*_IA32_ASLPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)\r
1777\r
1778 *_*_X64_CC_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS) $(SOURCE_LEVEL_DEBUG_BUILD_OPTIONS)\r
1779 *_*_X64_VFRPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)\r
1780 *_*_X64_APP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)\r
1781 *_*_X64_PP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)\r
1782 *_*_X64_ASLPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)\r
1783\r
1784\r
1785[Components.X64]\r
1786 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SysFwUpdateCapsuleDxe.inf\r
1787\r
1788 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cBus.inf {\r
1789 <PcdsPatchableInModule>\r
1790 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043\r
1791 }\r
1792\r
1793 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cHost.inf {\r
1794 <PcdsPatchableInModule>\r
1795 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043\r
1796 }\r
1797 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cPortA0Pio.inf {\r
1798 <PcdsPatchableInModule>\r
1799 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x00000043\r
1800 }\r
1801\r
1802 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cMmioDeviceDxe.inf {\r
1803 <PcdsPatchableInModule>\r
1804 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x00000043\r
1805 }\r
1806\r