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