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