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