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