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