]> git.proxmox.com Git - mirror_edk2.git/blob - QuarkPlatformPkg/QuarkMin.dsc
BaseTools:ECC report errors on account of analyze special characters
[mirror_edk2.git] / QuarkPlatformPkg / QuarkMin.dsc
1 ## @file
2 # Clanton Peak CRB platform with 32-bit DXE for 4MB/8MB flash devices.
3 #
4 # This package provides Clanton Peak CRB platform specific modules.
5 # Copyright (c) 2013 - 2019 Intel Corporation.
6 #
7 # SPDX-License-Identifier: BSD-2-Clause-Patent
8 #
9 ##
10
11 ################################################################################
12 #
13 # Defines Section - statements that will be processed to create a Makefile.
14 #
15 ################################################################################
16 [Defines]
17 DSC_SPECIFICATION = 0x00010005
18 PLATFORM_NAME = QuarkMin
19 PLATFORM_GUID = 2655F3CF-4CC7-4e17-A62D-77FE3F10AE7F
20 PLATFORM_VERSION = 0.1
21 FLASH_DEFINITION = QuarkPlatformPkg/QuarkMin.fdf
22 OUTPUT_DIRECTORY = Build/QuarkMin
23 SUPPORTED_ARCHITECTURES = IA32
24 BUILD_TARGETS = DEBUG|RELEASE
25 SKUID_IDENTIFIER = DEFAULT
26 VPD_TOOL_GUID = 8C3D856A-9BE6-468E-850A-24F7A8D38E08
27
28 #
29 # Platform On/Off features are defined here
30 #
31 DEFINE GALILEO = GEN2
32 DEFINE SECURE_BOOT_ENABLE = FALSE
33 DEFINE SOURCE_DEBUG_ENABLE = FALSE
34 DEFINE PERFORMANCE_ENABLE = FALSE
35 DEFINE LOGGING = FALSE
36
37 !if $(TARGET) == "DEBUG"
38 DEFINE LOGGING = TRUE
39 !endif
40
41 !if $(PERFORMANCE_ENABLE)
42 DEFINE SOURCE_DEBUG_ENABLE = FALSE
43 DEFINE LOGGING = FALSE
44 !endif
45
46 ################################################################################
47 #
48 # SKU Identification section - list of all SKU IDs supported by this
49 # Platform.
50 #
51 ################################################################################
52 [SkuIds]
53 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
54
55 ################################################################################
56 #
57 # Library Class section - list of all Library Classes needed by this Platform.
58 #
59 ################################################################################
60 [LibraryClasses]
61 #
62 # Entry point
63 #
64 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
65 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
66 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
67 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
68 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
69
70 #
71 # Basic
72 #
73 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
74 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
75 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
76 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
77 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
78 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
79 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
80 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
81 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
82 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
83 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
84 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
85 !if $(SOURCE_DEBUG_ENABLE)
86 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
87 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
88 !else
89 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
90 !endif
91 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
92 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
93
94 #
95 # UEFI & PI
96 #
97 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
98 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
99 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
100 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
101 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
102 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
103 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
104 UefiDecompressLib|MdeModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
105 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
106 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
107 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
108 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
109 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
110 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
111 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
112
113 #
114 # Generic Modules
115 #
116 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
117 S3IoLib|MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf
118 S3PciLib|MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf
119 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
120 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
121 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
122 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
123 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
124 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
125 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
126 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
127 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
128 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
129 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
130 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
131 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
132 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
133 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
134 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
135 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
136 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
137 !if $(LOGGING)
138 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
139 !else
140 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
141 !endif
142 !if $(PERFORMANCE_ENABLE)
143 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
144 !else
145 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
146 !endif
147
148 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
149 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
150
151 !if $(SECURE_BOOT_ENABLE)
152 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
153 PlatformSecureLib|QuarkPlatformPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
154 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
155 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
156 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
157 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
158 !else
159 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
160 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
161 !endif
162
163 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
164
165 #
166 # CPU
167 #
168 MtrrLib|QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/MtrrLib.inf
169 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
170 MpInitLib|UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
171
172 #
173 # Quark North Cluster
174 #
175 SmmLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.inf
176 SmbusLib|QuarkSocPkg/QuarkNorthCluster/Library/SmbusLib/SmbusLib.inf
177 TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
178 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf
179 IntelQNCLib|QuarkSocPkg/QuarkNorthCluster/Library/IntelQNCLib/IntelQNCLib.inf
180 QNCAccessLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCAccessLib/QNCAccessLib.inf
181 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
182
183 #
184 # Quark South Cluster
185 #
186 IohLib|QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.inf
187 I2cLib|QuarkSocPkg/QuarkSouthCluster/Library/I2cLib/I2cLib.inf
188 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
189 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
190
191 #
192 # Quark Platform
193 #
194 PlatformSecLib|QuarkPlatformPkg/Library/PlatformSecLib/PlatformSecLib.inf
195 PlatformPcieHelperLib|QuarkPlatformPkg/Library/PlatformPcieHelperLib/PlatformPcieHelperLib.inf
196 PlatformHelperLib|QuarkPlatformPkg/Library/PlatformHelperLib/DxePlatformHelperLib.inf
197
198 [LibraryClasses.common.SEC]
199 #
200 # SEC specific phase
201 #
202 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
203 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
204 TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
205 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
206 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
207 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
208
209 [LibraryClasses.IA32.PEIM,LibraryClasses.IA32.PEI_CORE]
210 #
211 # PEI phase common
212 #
213 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
214 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
215 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
216 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
217 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
218 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
219 TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
220 PlatformHelperLib|QuarkPlatformPkg/Library/PlatformHelperLib/PeiPlatformHelperLib.inf
221 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
222 !if $(SECURE_BOOT_ENABLE)
223 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
224 !endif
225 !if $(PERFORMANCE_ENABLE)
226 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
227 !endif
228
229 [LibraryClasses.IA32.DXE_CORE]
230 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
231 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
232 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
233 !if $(PERFORMANCE_ENABLE)
234 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
235 !endif
236
237 [LibraryClasses.IA32.DXE_SMM_DRIVER]
238 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
239 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
240 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
241 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
242 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
243 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
244 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
245 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
246 !if $(SECURE_BOOT_ENABLE)
247 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
248 !endif
249 !if $(PERFORMANCE_ENABLE)
250 PerformanceLib|MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf
251 !endif
252
253 [LibraryClasses.IA32.SMM_CORE]
254 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
255 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
256 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
257 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
258 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
259 !if $(SECURE_BOOT_ENABLE)
260 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
261 !endif
262 !if $(PERFORMANCE_ENABLE)
263 PerformanceLib|MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf
264 !endif
265
266 [LibraryClasses.IA32.DXE_RUNTIME_DRIVER]
267 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
268 QNCAccessLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCAccessLib/RuntimeQNCAccessLib.inf
269 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
270 !if $(SECURE_BOOT_ENABLE)
271 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
272 !endif
273
274 [LibraryClasses.IA32.UEFI_DRIVER,LibraryClasses.IA32.UEFI_APPLICATION]
275 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
276
277 ################################################################################
278 #
279 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
280 #
281 ################################################################################
282 [PcdsFeatureFlag]
283 gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText|TRUE
284 gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText|TRUE
285 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE
286 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
287 gEfiMdeModulePkgTokenSpaceGuid.PcdPciBusHotplugDeviceSupport|FALSE
288 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
289 !if $(SOURCE_DEBUG_ENABLE)
290 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmDebug|TRUE
291 !endif
292
293 !if $(TARGET) == "RELEASE"
294 gQuarkPlatformTokenSpaceGuid.WaitIfResetDueToError|FALSE
295 !else
296 gQuarkPlatformTokenSpaceGuid.WaitIfResetDueToError|TRUE
297 !endif
298
299 [PcdsFixedAtBuild]
300 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|1
301 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize|0x20000
302 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
303 !if $(LOGGING)
304 !if $(SOURCE_DEBUG_ENABLE)
305 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
306 !else
307 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
308 !endif
309 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
310 !else
311 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
312 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0x0
313 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x3
314 !endif
315 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0x18
316 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
317 !if $(GALILEO) == GEN1
318 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|460800
319 !endif
320 !if $(GALILEO) == GEN2
321 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|921600
322 !endif
323 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|8
324 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|1
325 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|1
326 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|0
327 !if $(PERFORMANCE_ENABLE)
328 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x1
329 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|80
330 !else
331 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x00
332 !endif
333 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|0
334 !if $(SECURE_BOOT_ENABLE)
335 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
336 !endif
337 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x00002000
338 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x1000
339 #
340 # Make VariableRuntimeDxe work at emulated non-volatile variable mode.
341 #
342 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable|TRUE
343 ## RTC Update Timeout Value, need to increase timeout since also
344 # waiting for RTC to be busy.
345 gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|500000
346
347 !if $(SECURE_BOOT_ENABLE)
348 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
349 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
350 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
351 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
352 !endif
353 gQuarkPlatformTokenSpaceGuid.PcdEsramStage1Base|0x80000000
354
355 !if $(SOURCE_DEBUG_ENABLE)
356 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
357 !endif
358
359 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|TRUE
360 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x9000B000
361 !if $(GALILEO) == GEN1
362 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|460800
363 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
364 !endif
365 !if $(GALILEO) == GEN2
366 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|921600
367 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
368 !endif
369 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|0x03
370 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|0x07
371 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|FALSE
372 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|44236800
373 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfo|{0x14, 0x05, 0x84, 0x00, 0xFF}
374 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|4
375
376 #
377 # typedef struct {
378 # UINT16 VendorId; ///< Vendor ID to match the PCI device. The value 0xFFFF terminates the list of entries.
379 # UINT16 DeviceId; ///< Device ID to match the PCI device
380 # UINT32 ClockRate; ///< UART clock rate. Set to 0 for default clock rate of 1843200 Hz
381 # UINT64 Offset; ///< The byte offset into to the BAR
382 # UINT8 BarIndex; ///< Which BAR to get the UART base address
383 # UINT8 RegisterStride; ///< UART register stride in bytes. Set to 0 for default register stride of 1 byte.
384 # UINT16 ReceiveFifoDepth; ///< UART receive FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.
385 # UINT16 TransmitFifoDepth; ///< UART transmit FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.
386 # UINT8 Reserved[2];
387 # } PCI_SERIAL_PARAMETER;
388 #
389 # Vendor 8086 Device 0936 Prog Interface 2, BAR #0, Offset 0, Stride = 4, Clock 44236800 (0x2a300000)
390 # Vendor 8086 Device 0936 Prog Interface 2, BAR #0, Offset 0, Stride = 4, Clock 44236800 (0x2a300000)
391 #
392 # [Vendor] [Device] [---ClockRate---] [------------Offset-----------] [Bar] [Stride] [RxFifo] [TxFifo] [Rsvd] [Vendor]
393 gEfiMdeModulePkgTokenSpaceGuid.PcdPciSerialParameters|{0x86,0x80, 0x36,0x09, 0x0,0x0,0xA3,0x02, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x00, 0x04, 0x0,0x0, 0x0,0x0, 0x0,0x0, 0xff,0xff}
394
395 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBusNumber |0
396 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciDeviceNumber |31
397 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciFunctionNumber |0
398 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciEnableRegisterOffset|0x4b
399 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoBarEnableMask |0x80
400 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBarRegisterOffset |0x48
401 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPortBaseAddress |0x1000
402 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiPm1TmrOffset |0x0008
403
404 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
405
406 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE
407
408 #
409 # Quark does not support LFENCE. Use CPUID as speculation barrier
410 #
411 gEfiMdePkgTokenSpaceGuid.PcdSpeculationBarrierType|0x02
412
413 [PcdsPatchableInModule]
414 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803000C7
415 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
416
417 [PcdsDynamicExHii.common.DEFAULT]
418 !if $(PERFORMANCE_ENABLE)
419 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|0
420 !else
421 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5
422 !endif
423 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBootState|L"BootState"|gQuarkPlatformTokenSpaceGuid|0x0|TRUE
424
425 [PcdsDynamicExDefault.common.DEFAULT]
426 gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0x0
427 gQuarkPlatformTokenSpaceGuid.PcdEnableFastBoot|TRUE
428 gQuarkPlatformTokenSpaceGuid.PcdUserIsPhysicallyPresent|FALSE
429 gQuarkPlatformTokenSpaceGuid.PcdSpiFlashDeviceSize|0
430
431 [PcdsDynamicExVpd]
432 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|*|32|L"EDK II"
433 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareRevision|*|0x01000400
434 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|*|64|L"Galileo 1.0.4"
435
436 #
437 # ClantonPeakSVP
438 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0002
439 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"ClantonPeakSVP"
440 # gEfiQuarkNcSocIdTokenSpaceGuid.PcdMrcParameters|*|40|{0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x01, 0x01, 0x00, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x01, 0x01, 0x03, 0x7c, 0x92, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x40, 0x9c, 0x00, 0x00, 0x06}
441 #
442 # KipsBay
443 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0003
444 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"KipsBay"
445 # gEfiQuarkNcSocIdTokenSpaceGuid.PcdMrcParameters|*|40|{0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x01, 0x01, 0x01, 0x7c, 0x92, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x40, 0x9c, 0x00, 0x00, 0x06}
446 #
447 # CrossHill
448 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0004
449 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"CrossHill"
450 # gEfiQuarkNcSocIdTokenSpaceGuid.PcdMrcParameters|*|40|{0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x01, 0x01, 0x03, 0x7c, 0x92, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x40, 0x9c, 0x00, 0x00, 0x06}
451 #
452 # ClantonHill
453 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0005
454 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"ClantonHill"
455 # gEfiQuarkNcSocIdTokenSpaceGuid.PcdMrcParameters|*|40|{0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x01, 0x01, 0x02, 0x7c, 0x92, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x40, 0x9c, 0x00, 0x00, 0x06}
456 #
457 # Galileo
458 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0006
459 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"Galileo"
460 # gEfiQuarkNcSocIdTokenSpaceGuid.PcdMrcParameters|*|40|{0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x01, 0x01, 0x01, 0x7c, 0x92, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x40, 0x9c, 0x00, 0x00, 0x06}
461 #
462 # GalileoGen2
463 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0008
464 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"GalileoGen2"
465 # gEfiQuarkNcSocIdTokenSpaceGuid.PcdMrcParameters|*|40|{0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x01, 0x01, 0x01, 0x7c, 0x92, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x40, 0x9c, 0x00, 0x00, 0x06}
466 #
467 !if $(GALILEO) == GEN1
468 gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0006
469 gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"Galileo"
470 gEfiQuarkNcSocIdTokenSpaceGuid.PcdMrcParameters|*|40|{0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x01, 0x01, 0x01, 0x7c, 0x92, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x40, 0x9c, 0x00, 0x00, 0x06}
471 !endif
472 !if $(GALILEO) == GEN2
473 gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0008
474 gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"GalileoGen2"
475 gEfiQuarkNcSocIdTokenSpaceGuid.PcdMrcParameters|*|40|{0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0x01, 0x01, 0x01, 0x7c, 0x92, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x40, 0x9c, 0x00, 0x00, 0x06}
476 !endif
477 gEfiQuarkSCSocIdTokenSpaceGuid.PcdIohEthernetMac0|*|8|{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}
478 gEfiQuarkSCSocIdTokenSpaceGuid.PcdIohEthernetMac1|*|8|{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}
479
480 ###################################################################################################
481 #
482 # Components Section - list of the modules and components that will be processed by compilation
483 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
484 #
485 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
486 # into firmware volume images. This section is just a list of modules to compile from
487 # source into UEFI-compliant binaries.
488 # It is the FDF file that contains information on combining binary files into firmware
489 # volume images, whose concept is beyond UEFI and is described in PI specification.
490 # Binary modules do not need to be listed in this section, as they should be
491 # specified in the FDF file. For example: Shell binary, FAT binary (Fat.efi),
492 # Logo (Logo.bmp), and etc.
493 # There may also be modules listed in this section that are not required in the FDF file,
494 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
495 # generated for it, but the binary will not be put into any firmware volume.
496 #
497 ###################################################################################################
498
499 [Components.IA32]
500 #
501 # SEC Core
502 #
503 UefiCpuPkg/SecCore/SecCore.inf {
504 !if $(SOURCE_DEBUG_ENABLE)
505 <LibraryClasses>
506 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
507 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
508 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf
509 !endif
510 }
511
512 #
513 # PEI Core
514 #
515 MdeModulePkg/Core/Pei/PeiMain.inf
516
517 #
518 # PEIM
519 #
520 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
521 <LibraryClasses>
522 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
523 }
524 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
525 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
526 MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei/PcatSingleSegmentPciCfg2Pei.inf
527
528 QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/MemoryInitPei.inf
529 QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.inf
530 QuarkPlatformPkg/Platform/Pei/PlatformConfig/PlatformConfigPei.inf
531
532 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
533
534 [Components.IA32]
535 #
536 # DXE Core
537 #
538 MdeModulePkg/Core/Dxe/DxeMain.inf
539
540 !if $(SOURCE_DEBUG_ENABLE)
541 SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.inf {
542 <LibraryClasses>
543 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
544 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf
545 }
546 !endif
547
548
549 QuarkPlatformPkg/Platform/Dxe/PlatformInit/PlatformInitDxe.inf
550
551 #
552 # Components that produce the architectural protocols
553 #
554 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
555 UefiCpuPkg/CpuDxe/CpuDxe.inf
556 MdeModulePkg/Universal/Metronome/Metronome.inf
557 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
558 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
559 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
560 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
561 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
562 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
563 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
564
565 #
566 # Following are the DXE drivers (alphabetical order)
567 #
568 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
569 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
570 <LibraryClasses>
571 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
572 }
573
574 QuarkPlatformPkg/Pci/Dxe/PciHostBridge/PciHostBridge.inf
575 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
576
577 #
578 # Platform
579 #
580 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
581 <LibraryClasses>
582 PlatformBootManagerLib|QuarkPlatformPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
583 }
584
585 QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/QNCInitDxe.inf
586 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
587 QuarkPlatformPkg/Platform/Dxe/Setup/DxePlatform.inf
588 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
589
590 #
591 # PCI
592 #
593 QuarkPlatformPkg/Pci/Dxe/PciPlatform/PciPlatform.inf
594 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
595 QuarkSocPkg/QuarkSouthCluster/IohInit/Dxe/IohInitDxe.inf
596 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
597
598 #
599 # Console
600 #
601 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
602 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
603 <LibraryClasses>
604 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
605 }
606 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
607 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
608 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf {
609 <LibraryClasses>
610 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
611 }
612 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
613 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
614
615 #
616 # File System Modules
617 #
618 MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf
619
620 #
621 # Performance Application
622 #
623 !if $(PERFORMANCE_ENABLE)
624 ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {
625 <PcdsFixedAtBuild>
626 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
627 }
628 !endif
629
630 ShellPkg/Application/Shell/Shell.inf {
631 <LibraryClasses>
632 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
633 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
634 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
635 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
636 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
637 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
638 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
639 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
640 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
641 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
642 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
643
644 <PcdsFixedAtBuild>
645 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
646 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
647 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
648 }