]> git.proxmox.com Git - mirror_edk2.git/blob - QuarkPlatformPkg/QuarkMin.dsc
99ae0677eb8b3f73f5e6061a5097371224041b10
[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 - 2016 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
118 #
119 # Generic Modules
120 #
121 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
122 S3IoLib|MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf
123 S3PciLib|MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf
124 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
125 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
126 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
127 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
128 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
129 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
130 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
131 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
132 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
133 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
134 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
135 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
136 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
137 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
138 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
139 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
140 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
141 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
142 !if $(LOGGING)
143 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
144 !else
145 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
146 !endif
147 !if $(PERFORMANCE_ENABLE)
148 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
149 !else
150 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
151 !endif
152 !if $(SECURE_BOOT_ENABLE)
153 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
154 PlatformSecureLib|QuarkPlatformPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
155 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
156 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
157 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
158 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
159 !else
160 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
161 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
162 !endif
163
164 #
165 # CPU
166 #
167 MtrrLib|QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/MtrrLib.inf
168 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
169 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
170
171 #
172 # Quark North Cluster
173 #
174 SmmLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.inf
175 SmbusLib|QuarkSocPkg/QuarkNorthCluster/Library/SmbusLib/SmbusLib.inf
176 TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
177 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf
178 IntelQNCLib|QuarkSocPkg/QuarkNorthCluster/Library/IntelQNCLib/IntelQNCLib.inf
179 QNCAccessLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCAccessLib/QNCAccessLib.inf
180 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
181
182 #
183 # Quark South Cluster
184 #
185 IohLib|QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.inf
186 I2cLib|QuarkSocPkg/QuarkSouthCluster/Library/I2cLib/I2cLib.inf
187 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
188 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
189
190 #
191 # Quark Platform
192 #
193 RecoveryOemHookLib|QuarkPlatformPkg/Library/RecoveryOemHookLib/RecoveryOemHookLib.inf
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 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 ## RTC Update Timeout Value, need to increase timeout since also
340 # waiting for RTC to be busy.
341 gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|500000
342
343 !if $(SECURE_BOOT_ENABLE)
344 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
345 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
346 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
347 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
348 !endif
349 gQuarkPlatformTokenSpaceGuid.PcdEsramStage1Base|0x80000000
350
351 !if $(SOURCE_DEBUG_ENABLE)
352 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
353 !endif
354
355 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|TRUE
356 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x9000B000
357 !if $(GALILEO) == GEN1
358 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|460800
359 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
360 !endif
361 !if $(GALILEO) == GEN2
362 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|921600
363 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
364 !endif
365 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|0x03
366 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|0x07
367 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|FALSE
368 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|44236800
369 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfo|{0x14, 0x05, 0x84, 0x00, 0xFF}
370 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|4
371
372 #
373 # typedef struct {
374 # UINT16 VendorId; ///< Vendor ID to match the PCI device. The value 0xFFFF terminates the list of entries.
375 # UINT16 DeviceId; ///< Device ID to match the PCI device
376 # UINT32 ClockRate; ///< UART clock rate. Set to 0 for default clock rate of 1843200 Hz
377 # UINT64 Offset; ///< The byte offset into to the BAR
378 # UINT8 BarIndex; ///< Which BAR to get the UART base address
379 # UINT8 RegisterStride; ///< UART register stride in bytes. Set to 0 for default register stride of 1 byte.
380 # UINT16 ReceiveFifoDepth; ///< UART receive FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.
381 # UINT16 TransmitFifoDepth; ///< UART transmit FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.
382 # UINT8 Reserved[2];
383 # } PCI_SERIAL_PARAMETER;
384 #
385 # Vendor 8086 Device 0936 Prog Interface 2, BAR #0, Offset 0, Stride = 4, Clock 44236800 (0x2a300000)
386 # Vendor 8086 Device 0936 Prog Interface 2, BAR #0, Offset 0, Stride = 4, Clock 44236800 (0x2a300000)
387 #
388 # [Vendor] [Device] [---ClockRate---] [------------Offset-----------] [Bar] [Stride] [RxFifo] [TxFifo] [Rsvd] [Vendor]
389 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}
390
391 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBusNumber |0
392 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciDeviceNumber |31
393 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciFunctionNumber |0
394 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciEnableRegisterOffset|0x4b
395 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoBarEnableMask |0x80
396 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBarRegisterOffset |0x48
397 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPortBaseAddress |0x1000
398 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiPm1TmrOffset |0x0008
399
400 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
401
402 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE
403
404 [PcdsPatchableInModule]
405 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803000C7
406 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
407
408 [PcdsDynamicExHii.common.DEFAULT]
409 !if $(PERFORMANCE_ENABLE)
410 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|0
411 !else
412 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5
413 !endif
414 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBootState|L"BootState"|gQuarkPlatformTokenSpaceGuid|0x0|TRUE
415
416 [PcdsDynamicExDefault.common.DEFAULT]
417 gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0x0
418 gQuarkPlatformTokenSpaceGuid.PcdEnableFastBoot|TRUE
419 gQuarkPlatformTokenSpaceGuid.PcdUserIsPhysicallyPresent|FALSE
420 gQuarkPlatformTokenSpaceGuid.PcdSpiFlashDeviceSize|0
421
422 [PcdsDynamicExVpd]
423 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|*|32|L"EDK II"
424 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareRevision|*|0x01000400
425 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|*|64|L"Galileo 1.0.4"
426
427 #
428 # ClantonPeakSVP
429 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0002
430 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"ClantonPeakSVP"
431 # 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}
432 #
433 # KipsBay
434 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0003
435 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"KipsBay"
436 # 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}
437 #
438 # CrossHill
439 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0004
440 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"CrossHill"
441 # 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}
442 #
443 # ClantonHill
444 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0005
445 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"ClantonHill"
446 # 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}
447 #
448 # Galileo
449 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0006
450 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"Galileo"
451 # 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}
452 #
453 # GalileoGen2
454 # gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0008
455 # gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"GalileoGen2"
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 !if $(GALILEO) == GEN1
459 gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0006
460 gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"Galileo"
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 !endif
463 !if $(GALILEO) == GEN2
464 gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0008
465 gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"GalileoGen2"
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 gEfiQuarkSCSocIdTokenSpaceGuid.PcdIohEthernetMac0|*|8|{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}
469 gEfiQuarkSCSocIdTokenSpaceGuid.PcdIohEthernetMac1|*|8|{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}
470
471 ###################################################################################################
472 #
473 # Components Section - list of the modules and components that will be processed by compilation
474 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
475 #
476 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
477 # into firmware volume images. This section is just a list of modules to compile from
478 # source into UEFI-compliant binaries.
479 # It is the FDF file that contains information on combining binary files into firmware
480 # volume images, whose concept is beyond UEFI and is described in PI specification.
481 # Binary modules do not need to be listed in this section, as they should be
482 # specified in the FDF file. For example: Shell binary, FAT binary (Fat.efi),
483 # Logo (Logo.bmp), and etc.
484 # There may also be modules listed in this section that are not required in the FDF file,
485 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
486 # generated for it, but the binary will not be put into any firmware volume.
487 #
488 ###################################################################################################
489
490 [Components.IA32]
491 #
492 # SEC Core
493 #
494 UefiCpuPkg/SecCore/SecCore.inf {
495 !if $(SOURCE_DEBUG_ENABLE)
496 <LibraryClasses>
497 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
498 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
499 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf
500 !endif
501 }
502
503 #
504 # PEI Core
505 #
506 MdeModulePkg/Core/Pei/PeiMain.inf
507
508 #
509 # PEIM
510 #
511 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
512 <LibraryClasses>
513 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
514 }
515 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
516 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
517 MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei/PcatSingleSegmentPciCfg2Pei.inf
518
519 QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/MemoryInitPei.inf
520 QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.inf
521 QuarkPlatformPkg/Platform/Pei/PlatformConfig/PlatformConfigPei.inf
522
523 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
524
525 [Components.IA32]
526 #
527 # DXE Core
528 #
529 MdeModulePkg/Core/Dxe/DxeMain.inf
530
531 !if $(SOURCE_DEBUG_ENABLE)
532 SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.inf {
533 <LibraryClasses>
534 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
535 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf
536 }
537 !endif
538
539
540 QuarkPlatformPkg/Platform/Dxe/PlatformInit/PlatformInitDxe.inf
541
542 #
543 # Components that produce the architectural protocols
544 #
545 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
546 UefiCpuPkg/CpuDxe/CpuDxe.inf
547 MdeModulePkg/Universal/Metronome/Metronome.inf
548 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
549 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
550 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
551 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf {
552 <LibraryClasses>
553 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
554 }
555 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
556 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
557 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
558
559 #
560 # Following are the DXE drivers (alphabetical order)
561 #
562 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
563 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
564 <LibraryClasses>
565 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
566 }
567
568 QuarkPlatformPkg/Pci/Dxe/PciHostBridge/PciHostBridge.inf
569 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
570
571 #
572 # Platform
573 #
574 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
575 <LibraryClasses>
576 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
577 PlatformBootManagerLib|QuarkPlatformPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
578 }
579
580 QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/QNCInitDxe.inf
581 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
582 QuarkPlatformPkg/Platform/Dxe/Setup/DxePlatform.inf
583 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
584
585 #
586 # PCI
587 #
588 QuarkPlatformPkg/Pci/Dxe/PciPlatform/PciPlatform.inf
589 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
590 QuarkSocPkg/QuarkSouthCluster/IohInit/Dxe/IohInitDxe.inf
591 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
592
593 #
594 # Console
595 #
596 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
597 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
598 <LibraryClasses>
599 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
600 }
601 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
602 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
603 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf {
604 <LibraryClasses>
605 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
606 }
607 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
608 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
609
610 #
611 # File System Modules
612 #
613 MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf
614
615 #
616 # Performance Application
617 #
618 !if $(PERFORMANCE_ENABLE)
619 PerformancePkg/Dp_App/Dp.inf {
620 <LibraryClasses>
621 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
622 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
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 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
638 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
639 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
640 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
641
642 <PcdsFixedAtBuild>
643 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
644 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
645 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
646 }