]> git.proxmox.com Git - mirror_edk2.git/blob - QuarkPlatformPkg/QuarkMin.dsc
BaseTools: Fix corner-cases of --hash feature
[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|IntelFrameworkModulePkg/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/MpInitLib/DxeMpInitLib.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 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
223 !if $(SECURE_BOOT_ENABLE)
224 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
225 !endif
226 !if $(PERFORMANCE_ENABLE)
227 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
228 !endif
229
230 [LibraryClasses.IA32.DXE_CORE]
231 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
232 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
233 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
234 !if $(PERFORMANCE_ENABLE)
235 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
236 !endif
237
238 [LibraryClasses.IA32.DXE_SMM_DRIVER]
239 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
240 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
241 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
242 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
243 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
244 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
245 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
246 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
247 !if $(SECURE_BOOT_ENABLE)
248 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
249 !endif
250 !if $(PERFORMANCE_ENABLE)
251 PerformanceLib|MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf
252 !endif
253
254 [LibraryClasses.IA32.SMM_CORE]
255 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
256 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
257 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
258 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
259 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
260 !if $(SECURE_BOOT_ENABLE)
261 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
262 !endif
263 !if $(PERFORMANCE_ENABLE)
264 PerformanceLib|MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf
265 !endif
266
267 [LibraryClasses.IA32.DXE_RUNTIME_DRIVER]
268 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
269 QNCAccessLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCAccessLib/RuntimeQNCAccessLib.inf
270 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
271 !if $(SECURE_BOOT_ENABLE)
272 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
273 !endif
274
275 [LibraryClasses.IA32.UEFI_DRIVER,LibraryClasses.IA32.UEFI_APPLICATION]
276 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
277
278 ################################################################################
279 #
280 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
281 #
282 ################################################################################
283 [PcdsFeatureFlag]
284 gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText|TRUE
285 gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText|TRUE
286 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE
287 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
288 gEfiMdeModulePkgTokenSpaceGuid.PcdPciBusHotplugDeviceSupport|FALSE
289 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
290 !if $(SOURCE_DEBUG_ENABLE)
291 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmDebug|TRUE
292 !endif
293
294 !if $(TARGET) == "RELEASE"
295 gQuarkPlatformTokenSpaceGuid.WaitIfResetDueToError|FALSE
296 !else
297 gQuarkPlatformTokenSpaceGuid.WaitIfResetDueToError|TRUE
298 !endif
299
300 [PcdsFixedAtBuild]
301 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|1
302 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize|0x20000
303 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
304 !if $(LOGGING)
305 !if $(SOURCE_DEBUG_ENABLE)
306 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
307 !else
308 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
309 !endif
310 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
311 !else
312 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
313 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0x0
314 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x3
315 !endif
316 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0x18
317 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
318 !if $(GALILEO) == GEN1
319 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|460800
320 !endif
321 !if $(GALILEO) == GEN2
322 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|921600
323 !endif
324 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|8
325 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|1
326 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|1
327 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|0
328 !if $(PERFORMANCE_ENABLE)
329 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x1
330 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|80
331 !else
332 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x00
333 !endif
334 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|0
335 !if $(SECURE_BOOT_ENABLE)
336 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
337 !endif
338 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x00002000
339 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x1000
340 #
341 # Make VariableRuntimeDxe work at emulated non-volatile variable mode.
342 #
343 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable|TRUE
344 ## RTC Update Timeout Value, need to increase timeout since also
345 # waiting for RTC to be busy.
346 gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|500000
347
348 !if $(SECURE_BOOT_ENABLE)
349 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
350 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
351 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
352 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
353 !endif
354 gQuarkPlatformTokenSpaceGuid.PcdEsramStage1Base|0x80000000
355
356 !if $(SOURCE_DEBUG_ENABLE)
357 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
358 !endif
359
360 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|TRUE
361 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x9000B000
362 !if $(GALILEO) == GEN1
363 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|460800
364 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
365 !endif
366 !if $(GALILEO) == GEN2
367 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|921600
368 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
369 !endif
370 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|0x03
371 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|0x07
372 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|FALSE
373 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|44236800
374 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfo|{0x14, 0x05, 0x84, 0x00, 0xFF}
375 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|4
376
377 #
378 # typedef struct {
379 # UINT16 VendorId; ///< Vendor ID to match the PCI device. The value 0xFFFF terminates the list of entries.
380 # UINT16 DeviceId; ///< Device ID to match the PCI device
381 # UINT32 ClockRate; ///< UART clock rate. Set to 0 for default clock rate of 1843200 Hz
382 # UINT64 Offset; ///< The byte offset into to the BAR
383 # UINT8 BarIndex; ///< Which BAR to get the UART base address
384 # UINT8 RegisterStride; ///< UART register stride in bytes. Set to 0 for default register stride of 1 byte.
385 # UINT16 ReceiveFifoDepth; ///< UART receive FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.
386 # UINT16 TransmitFifoDepth; ///< UART transmit FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.
387 # UINT8 Reserved[2];
388 # } PCI_SERIAL_PARAMETER;
389 #
390 # Vendor 8086 Device 0936 Prog Interface 2, BAR #0, Offset 0, Stride = 4, Clock 44236800 (0x2a300000)
391 # Vendor 8086 Device 0936 Prog Interface 2, BAR #0, Offset 0, Stride = 4, Clock 44236800 (0x2a300000)
392 #
393 # [Vendor] [Device] [---ClockRate---] [------------Offset-----------] [Bar] [Stride] [RxFifo] [TxFifo] [Rsvd] [Vendor]
394 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}
395
396 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBusNumber |0
397 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciDeviceNumber |31
398 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciFunctionNumber |0
399 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciEnableRegisterOffset|0x4b
400 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoBarEnableMask |0x80
401 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBarRegisterOffset |0x48
402 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPortBaseAddress |0x1000
403 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiPm1TmrOffset |0x0008
404
405 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
406
407 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE
408
409 [PcdsPatchableInModule]
410 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803000C7
411 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
412
413 [PcdsDynamicExHii.common.DEFAULT]
414 !if $(PERFORMANCE_ENABLE)
415 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|0
416 !else
417 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5
418 !endif
419 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBootState|L"BootState"|gQuarkPlatformTokenSpaceGuid|0x0|TRUE
420
421 [PcdsDynamicExDefault.common.DEFAULT]
422 gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0x0
423 gQuarkPlatformTokenSpaceGuid.PcdEnableFastBoot|TRUE
424 gQuarkPlatformTokenSpaceGuid.PcdUserIsPhysicallyPresent|FALSE
425 gQuarkPlatformTokenSpaceGuid.PcdSpiFlashDeviceSize|0
426
427 [PcdsDynamicExVpd]
428 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|*|32|L"EDK II"
429 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareRevision|*|0x01000400
430 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|*|64|L"Galileo 1.0.4"
431
432 #
433 # ClantonPeakSVP
434 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0002
435 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"ClantonPeakSVP"
436 # 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}
437 #
438 # KipsBay
439 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0003
440 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"KipsBay"
441 # 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}
442 #
443 # CrossHill
444 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0004
445 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"CrossHill"
446 # 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}
447 #
448 # ClantonHill
449 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0005
450 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"ClantonHill"
451 # 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}
452 #
453 # Galileo
454 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0006
455 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"Galileo"
456 # 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}
457 #
458 # GalileoGen2
459 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0008
460 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"GalileoGen2"
461 # 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}
462 #
463 !if $(GALILEO) == GEN1
464 gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0006
465 gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"Galileo"
466 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}
467 !endif
468 !if $(GALILEO) == GEN2
469 gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0008
470 gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"GalileoGen2"
471 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}
472 !endif
473 gEfiQuarkSCSocIdTokenSpaceGuid.PcdIohEthernetMac0|*|8|{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}
474 gEfiQuarkSCSocIdTokenSpaceGuid.PcdIohEthernetMac1|*|8|{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}
475
476 ###################################################################################################
477 #
478 # Components Section - list of the modules and components that will be processed by compilation
479 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
480 #
481 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
482 # into firmware volume images. This section is just a list of modules to compile from
483 # source into UEFI-compliant binaries.
484 # It is the FDF file that contains information on combining binary files into firmware
485 # volume images, whose concept is beyond UEFI and is described in PI specification.
486 # Binary modules do not need to be listed in this section, as they should be
487 # specified in the FDF file. For example: Shell binary, FAT binary (Fat.efi),
488 # Logo (Logo.bmp), and etc.
489 # There may also be modules listed in this section that are not required in the FDF file,
490 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
491 # generated for it, but the binary will not be put into any firmware volume.
492 #
493 ###################################################################################################
494
495 [Components.IA32]
496 #
497 # SEC Core
498 #
499 UefiCpuPkg/SecCore/SecCore.inf {
500 !if $(SOURCE_DEBUG_ENABLE)
501 <LibraryClasses>
502 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
503 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
504 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf
505 !endif
506 }
507
508 #
509 # PEI Core
510 #
511 MdeModulePkg/Core/Pei/PeiMain.inf
512
513 #
514 # PEIM
515 #
516 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
517 <LibraryClasses>
518 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
519 }
520 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
521 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
522 MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei/PcatSingleSegmentPciCfg2Pei.inf
523
524 QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/MemoryInitPei.inf
525 QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.inf
526 QuarkPlatformPkg/Platform/Pei/PlatformConfig/PlatformConfigPei.inf
527
528 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
529
530 [Components.IA32]
531 #
532 # DXE Core
533 #
534 MdeModulePkg/Core/Dxe/DxeMain.inf
535
536 !if $(SOURCE_DEBUG_ENABLE)
537 SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.inf {
538 <LibraryClasses>
539 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
540 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf
541 }
542 !endif
543
544
545 QuarkPlatformPkg/Platform/Dxe/PlatformInit/PlatformInitDxe.inf
546
547 #
548 # Components that produce the architectural protocols
549 #
550 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
551 UefiCpuPkg/CpuDxe/CpuDxe.inf
552 MdeModulePkg/Universal/Metronome/Metronome.inf
553 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
554 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
555 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
556 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
557 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
558 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
559 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
560
561 #
562 # Following are the DXE drivers (alphabetical order)
563 #
564 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
565 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
566 <LibraryClasses>
567 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
568 }
569
570 QuarkPlatformPkg/Pci/Dxe/PciHostBridge/PciHostBridge.inf
571 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
572
573 #
574 # Platform
575 #
576 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
577 <LibraryClasses>
578 PlatformBootManagerLib|QuarkPlatformPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
579 }
580
581 QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/QNCInitDxe.inf
582 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
583 QuarkPlatformPkg/Platform/Dxe/Setup/DxePlatform.inf
584 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
585
586 #
587 # PCI
588 #
589 QuarkPlatformPkg/Pci/Dxe/PciPlatform/PciPlatform.inf
590 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
591 QuarkSocPkg/QuarkSouthCluster/IohInit/Dxe/IohInitDxe.inf
592 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
593
594 #
595 # Console
596 #
597 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
598 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
599 <LibraryClasses>
600 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
601 }
602 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
603 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
604 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf {
605 <LibraryClasses>
606 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
607 }
608 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
609 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
610
611 #
612 # File System Modules
613 #
614 MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf
615
616 #
617 # Performance Application
618 #
619 !if $(PERFORMANCE_ENABLE)
620 ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {
621 <PcdsFixedAtBuild>
622 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
623 }
624 !endif
625
626 ShellPkg/Application/Shell/Shell.inf {
627 <LibraryClasses>
628 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
629 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
630 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
631 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
632 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
633 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
634 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
635 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
636 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
637 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
638 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
639
640 <PcdsFixedAtBuild>
641 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
642 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
643 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
644 }