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