]> git.proxmox.com Git - mirror_edk2.git/blame - QuarkPlatformPkg/Quark.dsc
QuarkPlatformPkg: Add UefiBootManagerLib to fix Shell build failure
[mirror_edk2.git] / QuarkPlatformPkg / Quark.dsc
CommitLineData
b303605e
MK
1## @file\r
2# Clanton Peak CRB platform with 32-bit DXE for 4MB/8MB flash devices.\r
3#\r
4# This package provides Clanton Peak CRB platform specific modules.\r
bbac7a1b 5# Copyright (c) 2013 - 2017 Intel Corporation.\r
b303605e
MK
6#\r
7# This program and the accompanying materials\r
8# are licensed and made available under the terms and conditions of the BSD License\r
9# which accompanies this distribution. The full text of the license may be found at\r
10# http://opensource.org/licenses/bsd-license.php\r
11#\r
12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14#\r
15##\r
16\r
17################################################################################\r
18#\r
19# Defines Section - statements that will be processed to create a Makefile.\r
20#\r
21################################################################################\r
22[Defines]\r
23 DSC_SPECIFICATION = 0x00010005\r
24 PLATFORM_NAME = Quark\r
25 PLATFORM_GUID = F6E7730E-0C7A-4741-9DFC-6BC8B86CD865\r
26 PLATFORM_VERSION = 0.1\r
27 FLASH_DEFINITION = QuarkPlatformPkg/Quark.fdf\r
28 OUTPUT_DIRECTORY = Build/Quark\r
29 SUPPORTED_ARCHITECTURES = IA32\r
30 BUILD_TARGETS = DEBUG|RELEASE\r
31 SKUID_IDENTIFIER = DEFAULT\r
32 VPD_TOOL_GUID = 8C3D856A-9BE6-468E-850A-24F7A8D38E08\r
33\r
34 #\r
35 # Platform On/Off features are defined here\r
36 #\r
6ceeb1e2
MK
37 DEFINE SECURE_BOOT_ENABLE = FALSE\r
38 DEFINE MEASURED_BOOT_ENABLE = FALSE\r
39 DEFINE SOURCE_DEBUG_ENABLE = FALSE\r
40 DEFINE PERFORMANCE_ENABLE = FALSE\r
41 DEFINE LOGGING = FALSE\r
8affbb62
JY
42 DEFINE CAPSULE_ENABLE = FALSE\r
43 DEFINE RECOVERY_ENABLE = FALSE\r
6ceeb1e2
MK
44\r
45 #\r
46 # Galileo board. Options are [GEN1, GEN2]\r
47 #\r
48 DEFINE GALILEO = GEN2\r
49\r
50 #\r
51 # TPM 1.2 Hardware. Options are [NONE, LPC, ATMEL_I2C, INFINEON_I2C]\r
52 #\r
53 DEFINE TPM_12_HARDWARE = NONE\r
b303605e
MK
54\r
55 !if $(TARGET) == "DEBUG"\r
56 DEFINE LOGGING = TRUE\r
57 !endif\r
58\r
59 !if $(PERFORMANCE_ENABLE)\r
60 DEFINE SOURCE_DEBUG_ENABLE = FALSE\r
61 DEFINE LOGGING = FALSE\r
62 !endif\r
63\r
64################################################################################\r
65#\r
66# SKU Identification section - list of all SKU IDs supported by this\r
67# Platform.\r
68#\r
69################################################################################\r
70[SkuIds]\r
71 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.\r
72\r
73################################################################################\r
74#\r
75# Library Class section - list of all Library Classes needed by this Platform.\r
76#\r
77################################################################################\r
78[LibraryClasses]\r
79 #\r
80 # Entry point\r
81 #\r
82 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
83 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
84 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
85 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
86 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
87\r
88 #\r
89 # Basic\r
90 #\r
91 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
92 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
93 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
94 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
95 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
96 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
97 PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r
627dea2a 98 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
b303605e
MK
99 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
100 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
101 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
102 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
103!if $(SOURCE_DEBUG_ENABLE)\r
104 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
105 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
106!else\r
107 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
108!endif\r
109 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
110 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
111\r
112 #\r
113 # UEFI & PI\r
114 #\r
115 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
116 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
117 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
118 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
119 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
120 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
121 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
122 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
123 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
124 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
125 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
126 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
127 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
128 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
bbac7a1b 129 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
b303605e
MK
130\r
131 #\r
132 # Generic Modules\r
133 #\r
134 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r
135 S3IoLib|MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf\r
136 S3PciLib|MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf\r
137 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
138 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
139 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
140 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
141 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
142 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
143 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
144 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
145 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
146 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
147 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
148 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
149 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
150 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
151 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
152 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf\r
153 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
154 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
155!if $(LOGGING)\r
156 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
157!else\r
158 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
159!endif\r
160!if $(PERFORMANCE_ENABLE)\r
161 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
162!else\r
163 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
164!endif\r
6ceeb1e2 165\r
6ceeb1e2
MK
166 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
167 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
b303605e 168 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
6ceeb1e2
MK
169\r
170!if $(SECURE_BOOT_ENABLE)\r
b303605e 171 PlatformSecureLib|QuarkPlatformPkg/Library/PlatformSecureLib/PlatformSecureLib.inf\r
b303605e
MK
172 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
173!else\r
b303605e
MK
174 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
175!endif\r
6ceeb1e2
MK
176\r
177!if $(MEASURED_BOOT_ENABLE)\r
178 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
179 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf\r
180!if $(TPM_12_HARDWARE) == LPC\r
181 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
182!endif\r
183!if $(TPM_12_HARDWARE) == ATMEL_I2C\r
184 Tpm12DeviceLib|QuarkPlatformPkg/Library/Tpm12DeviceLibAtmelI2c/Tpm12DeviceLibAtmelI2c.inf\r
185!endif\r
186!if $(TPM_12_HARDWARE) == INFINEON_I2C\r
187 Tpm12DeviceLib|QuarkPlatformPkg/Library/Tpm12DeviceLibInfineonI2c/Tpm12DeviceLibInfineonI2c.inf\r
188!endif\r
62c9131a 189 TcgPpVendorLib|SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf\r
6ceeb1e2
MK
190!else\r
191 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
192!endif\r
193\r
b303605e
MK
194 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
195\r
196 #\r
197 # CPU\r
198 #\r
199 MtrrLib|QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/MtrrLib.inf\r
200 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf\r
ee78341e 201 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
b303605e
MK
202\r
203 #\r
204 # Quark North Cluster\r
205 #\r
206 SmmLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.inf\r
207 SmbusLib|QuarkSocPkg/QuarkNorthCluster/Library/SmbusLib/SmbusLib.inf\r
208 TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
209 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf\r
210 IntelQNCLib|QuarkSocPkg/QuarkNorthCluster/Library/IntelQNCLib/IntelQNCLib.inf\r
211 QNCAccessLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCAccessLib/QNCAccessLib.inf\r
212 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf\r
213\r
214 #\r
215 # Quark South Cluster\r
216 #\r
217 IohLib|QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.inf\r
218 I2cLib|QuarkSocPkg/QuarkSouthCluster/Library/I2cLib/I2cLib.inf\r
219 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf\r
220 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf\r
221\r
222 #\r
223 # Quark Platform\r
224 #\r
b303605e
MK
225 PlatformSecLib|QuarkPlatformPkg/Library/PlatformSecLib/PlatformSecLib.inf\r
226 PlatformPcieHelperLib|QuarkPlatformPkg/Library/PlatformPcieHelperLib/PlatformPcieHelperLib.inf\r
227 PlatformHelperLib|QuarkPlatformPkg/Library/PlatformHelperLib/DxePlatformHelperLib.inf\r
228\r
8affbb62
JY
229!if $(CAPSULE_ENABLE)\r
230 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf\r
231!else\r
232 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
233!endif\r
234\r
235 EdkiiSystemCapsuleLib|SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf\r
236 FmpAuthenticationLib|MdeModulePkg/Library/FmpAuthenticationLibNull/FmpAuthenticationLibNull.inf\r
237 IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf\r
238 PlatformFlashAccessLib|QuarkPlatformPkg/Feature/Capsule/Library/PlatformFlashAccessLib/PlatformFlashAccessLibDxe.inf\r
239\r
b303605e
MK
240[LibraryClasses.common.SEC]\r
241 #\r
242 # SEC specific phase\r
243 #\r
244 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
245 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
246 TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf\r
247 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
248 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
249 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
250\r
251[LibraryClasses.IA32.PEIM,LibraryClasses.IA32.PEI_CORE]\r
252 #\r
253 # PEI phase common\r
254 #\r
255 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
256 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
257 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
258 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
259 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
260 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
261 TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf\r
262 PlatformHelperLib|QuarkPlatformPkg/Library/PlatformHelperLib/PeiPlatformHelperLib.inf\r
263 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
ee78341e 264 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
b303605e 265 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
b303605e
MK
266!if $(PERFORMANCE_ENABLE)\r
267 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
268!endif\r
269\r
270[LibraryClasses.IA32.DXE_CORE]\r
271 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
272 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
273 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
274!if $(PERFORMANCE_ENABLE)\r
275 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r
276!endif\r
277\r
278[LibraryClasses.IA32.DXE_SMM_DRIVER]\r
279 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
280 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf\r
281 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
282 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf\r
283 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
284 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
285 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
b303605e 286 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
b303605e
MK
287!if $(PERFORMANCE_ENABLE)\r
288 PerformanceLib|MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf\r
289!endif\r
290\r
291[LibraryClasses.IA32.SMM_CORE]\r
292 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
293 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf\r
294 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
295 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
296 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
6ceeb1e2 297!if $(SECURE_BOOT_ENABLE) || $(MEASURED_BOOT_ENABLE)\r
b303605e
MK
298 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
299!endif\r
300!if $(PERFORMANCE_ENABLE)\r
301 PerformanceLib|MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf\r
302!endif\r
303\r
304[LibraryClasses.IA32.DXE_RUNTIME_DRIVER]\r
305 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
306 QNCAccessLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCAccessLib/RuntimeQNCAccessLib.inf\r
307 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
6ceeb1e2 308!if $(SECURE_BOOT_ENABLE) || $(MEASURED_BOOT_ENABLE)\r
b303605e
MK
309 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
310!endif\r
311\r
8affbb62
JY
312!if $(CAPSULE_ENABLE)\r
313 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf\r
314!endif\r
315\r
b303605e
MK
316[LibraryClasses.IA32.UEFI_DRIVER,LibraryClasses.IA32.UEFI_APPLICATION]\r
317 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
318\r
319################################################################################\r
320#\r
321# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
322#\r
323################################################################################\r
324[PcdsFeatureFlag]\r
325 gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText|TRUE\r
326 gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText|TRUE\r
327 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE\r
328 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
329 gEfiMdeModulePkgTokenSpaceGuid.PcdPciBusHotplugDeviceSupport|FALSE\r
330 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r
331!if $(SOURCE_DEBUG_ENABLE)\r
332 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmDebug|TRUE\r
333!endif\r
334\r
335!if $(TARGET) == "RELEASE"\r
336 gQuarkPlatformTokenSpaceGuid.WaitIfResetDueToError|FALSE\r
337!else\r
338 gQuarkPlatformTokenSpaceGuid.WaitIfResetDueToError|TRUE\r
339!endif\r
340\r
341[PcdsFixedAtBuild]\r
342 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|1\r
343 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize|0x20000\r
344 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|TRUE\r
345!if $(LOGGING)\r
346 !if $(SOURCE_DEBUG_ENABLE)\r
347 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
348 !else\r
349 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27\r
350 !endif\r
351 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
352!else\r
353 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0\r
354 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0x0\r
355 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x3\r
356!endif\r
357 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0x18\r
358 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r
359!if $(GALILEO) == GEN1\r
360 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|460800\r
361!endif\r
362!if $(GALILEO) == GEN2\r
363 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|921600\r
364!endif\r
365 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|8\r
366 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|1\r
367 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|1\r
368 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|0\r
369!if $(PERFORMANCE_ENABLE)\r
370 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x1\r
371 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|80\r
372!else\r
373 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x00\r
374!endif\r
375 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|0\r
376!if $(SECURE_BOOT_ENABLE)\r
377 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
378!endif\r
379 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x00002000\r
380 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x1000\r
381 ## RTC Update Timeout Value, need to increase timeout since also\r
382 # waiting for RTC to be busy.\r
383 gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|500000\r
384\r
385!if $(SECURE_BOOT_ENABLE)\r
386 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot\r
387 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04\r
388 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04\r
389 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04\r
390!endif\r
391 gQuarkPlatformTokenSpaceGuid.PcdEsramStage1Base|0x80000000\r
392\r
393!if $(SOURCE_DEBUG_ENABLE)\r
394 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
395!endif\r
396\r
397 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|TRUE\r
398 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x9000B000\r
399!if $(GALILEO) == GEN1\r
400 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|460800\r
401 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE\r
402!endif\r
403!if $(GALILEO) == GEN2\r
404 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|921600\r
405 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE\r
406!endif\r
407 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|0x03\r
408 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|0x07\r
409 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|FALSE\r
410 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|44236800\r
411 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfo|{0x14, 0x05, 0x84, 0x00, 0xFF}\r
412 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|4\r
413\r
414 #\r
415 # typedef struct {\r
416 # UINT16 VendorId; ///< Vendor ID to match the PCI device. The value 0xFFFF terminates the list of entries.\r
417 # UINT16 DeviceId; ///< Device ID to match the PCI device\r
418 # UINT32 ClockRate; ///< UART clock rate. Set to 0 for default clock rate of 1843200 Hz\r
419 # UINT64 Offset; ///< The byte offset into to the BAR\r
420 # UINT8 BarIndex; ///< Which BAR to get the UART base address\r
421 # UINT8 RegisterStride; ///< UART register stride in bytes. Set to 0 for default register stride of 1 byte.\r
422 # UINT16 ReceiveFifoDepth; ///< UART receive FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.\r
423 # UINT16 TransmitFifoDepth; ///< UART transmit FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.\r
424 # UINT8 Reserved[2];\r
425 # } PCI_SERIAL_PARAMETER;\r
426 #\r
427 # Vendor 8086 Device 0936 Prog Interface 2, BAR #0, Offset 0, Stride = 4, Clock 44236800 (0x2a300000)\r
428 # Vendor 8086 Device 0936 Prog Interface 2, BAR #0, Offset 0, Stride = 4, Clock 44236800 (0x2a300000)\r
429 #\r
430 # [Vendor] [Device] [---ClockRate---] [------------Offset-----------] [Bar] [Stride] [RxFifo] [TxFifo] [Rsvd] [Vendor]\r
431 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}\r
432\r
433 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBusNumber |0\r
434 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciDeviceNumber |31\r
435 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciFunctionNumber |0\r
436 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciEnableRegisterOffset|0x4b\r
437 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoBarEnableMask |0x80\r
438 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBarRegisterOffset |0x48\r
439 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPortBaseAddress |0x1000\r
440 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiPm1TmrOffset |0x0008\r
441\r
442 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
443\r
444 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE\r
445\r
8affbb62
JY
446!if $(RECOVERY_ENABLE)\r
447 gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName|L"QUARKREC.Cap"\r
448!endif\r
449\r
b303605e
MK
450[PcdsPatchableInModule]\r
451 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803000C7\r
452 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
453\r
454[PcdsDynamicExHii.common.DEFAULT]\r
455!if $(PERFORMANCE_ENABLE)\r
456 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|0\r
457!else\r
458 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5\r
459!endif\r
460 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBootState|L"BootState"|gQuarkPlatformTokenSpaceGuid|0x0|TRUE\r
461\r
462[PcdsDynamicExDefault.common.DEFAULT]\r
463 gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0x0\r
464 gQuarkPlatformTokenSpaceGuid.PcdEnableFastBoot|TRUE\r
465 gQuarkPlatformTokenSpaceGuid.PcdUserIsPhysicallyPresent|FALSE\r
466 gQuarkPlatformTokenSpaceGuid.PcdSpiFlashDeviceSize|0\r
467\r
8affbb62
JY
468!if $(CAPSULE_ENABLE) || $(RECOVERY_ENABLE)\r
469 gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareImageDescriptor|{0x0}|VOID*|0x100\r
470 gEfiMdeModulePkgTokenSpaceGuid.PcdSystemFmpCapsuleImageTypeIdGuid|{0xc0, 0x20, 0xaf, 0x62, 0x16, 0x70, 0x4a, 0x42, 0x9b, 0xf8, 0x9c, 0xcc, 0x86, 0x58, 0x40, 0x90}\r
471 gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareFileGuid|{0x59, 0x3A, 0xD8, 0x14, 0x10, 0xA8, 0x56, 0x45, 0x81, 0x92, 0x1C, 0x0A, 0x59, 0x3C, 0x06, 0x5C}\r
472!endif\r
473\r
6ceeb1e2
MK
474!if $(MEASURED_BOOT_ENABLE)\r
475 #\r
476 # TPM1.2 { 0x8b01e5b6, 0x4f19, 0x46e8, { 0xab, 0x93, 0x1c, 0x53, 0x67, 0x1b, 0x90, 0xcc } }\r
477 # TPM2.0 DTPM { 0x286bf25a, 0xc2c3, 0x408c, { 0xb3, 0xb4, 0x25, 0xe6, 0x75, 0x8b, 0x73, 0x17 } }\r
478 #\r
479 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0xb6, 0xe5, 0x01, 0x8b, 0x19, 0x4f, 0xe8, 0x46, 0xab, 0x93, 0x1c, 0x53, 0x67, 0x1b, 0x90, 0xcc}\r
480 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1\r
481 gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1\r
482!endif\r
483\r
b303605e
MK
484[PcdsDynamicExVpd]\r
485 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|*|32|L"EDK II"\r
486 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareRevision|*|0x01000400\r
487 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|*|64|L"Galileo 1.0.4"\r
488\r
489#\r
490# ClantonPeakSVP\r
491# gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0002\r
492# gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"ClantonPeakSVP"\r
493# 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}\r
494#\r
495# KipsBay\r
496# gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0003\r
497# gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"KipsBay"\r
498# 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}\r
499#\r
500# CrossHill\r
501# gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0004\r
502# gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"CrossHill"\r
503# 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}\r
504#\r
505# ClantonHill\r
506# gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0005\r
507# gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"ClantonHill"\r
508# 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}\r
509#\r
510# Galileo\r
511# gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0006\r
512# gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"Galileo"\r
513# 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}\r
514#\r
515# GalileoGen2\r
516# gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0008\r
517# gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"GalileoGen2"\r
518# 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}\r
519#\r
520!if $(GALILEO) == GEN1\r
521 gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0006\r
522 gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"Galileo"\r
523 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}\r
524!endif\r
525!if $(GALILEO) == GEN2\r
526 gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0008\r
527 gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"GalileoGen2"\r
528 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}\r
529!endif\r
530 gEfiQuarkSCSocIdTokenSpaceGuid.PcdIohEthernetMac0|*|8|{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}\r
531 gEfiQuarkSCSocIdTokenSpaceGuid.PcdIohEthernetMac1|*|8|{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}\r
532\r
533###################################################################################################\r
534#\r
535# Components Section - list of the modules and components that will be processed by compilation\r
536# tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
537#\r
538# Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
539# into firmware volume images. This section is just a list of modules to compile from\r
540# source into UEFI-compliant binaries.\r
541# It is the FDF file that contains information on combining binary files into firmware\r
542# volume images, whose concept is beyond UEFI and is described in PI specification.\r
543# Binary modules do not need to be listed in this section, as they should be\r
544# specified in the FDF file. For example: Shell binary, FAT binary (Fat.efi),\r
545# Logo (Logo.bmp), and etc.\r
546# There may also be modules listed in this section that are not required in the FDF file,\r
547# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
548# generated for it, but the binary will not be put into any firmware volume.\r
549#\r
550###################################################################################################\r
551\r
552[Components.IA32]\r
553 #\r
554 # SEC Core\r
555 #\r
556 UefiCpuPkg/SecCore/SecCore.inf {\r
557 !if $(SOURCE_DEBUG_ENABLE)\r
558 <LibraryClasses>\r
559 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
560 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
561 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf\r
562 !endif\r
563 }\r
564\r
8affbb62
JY
565!if $(CAPSULE_ENABLE) || $(RECOVERY_ENABLE)\r
566 # FMP image decriptor\r
567 QuarkPlatformPkg/Feature/Capsule/SystemFirmwareDescriptor/SystemFirmwareDescriptor.inf\r
568!endif\r
569\r
b303605e
MK
570 #\r
571 # PEI Core\r
572 #\r
573 MdeModulePkg/Core/Pei/PeiMain.inf\r
574\r
575 #\r
576 # PEIM\r
577 #\r
578 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
579 <LibraryClasses>\r
580 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
581 }\r
582 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf\r
583 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {\r
584 <LibraryClasses>\r
585 !if $(LOGGING)\r
586 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
587 !else\r
588 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
589 !endif\r
590 }\r
591\r
592 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf\r
593 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r
594 MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei/PcatSingleSegmentPciCfg2Pei.inf\r
595 UefiCpuPkg/CpuMpPei/CpuMpPei.inf\r
596 MdeModulePkg/Universal/CapsulePei/CapsulePei.inf\r
597\r
598 QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/MemoryInitPei.inf\r
599 QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.inf\r
600 QuarkPlatformPkg/Platform/Pei/PlatformConfig/PlatformConfigPei.inf\r
601\r
602 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf\r
603\r
604 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
605\r
606 #\r
607 # S3\r
608 #\r
609 QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmAccessPei/SmmAccessPei.inf\r
610 QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmControlPei/SmmControlPei.inf\r
611 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf\r
612\r
6ceeb1e2
MK
613 #\r
614 # Trusted Platform Module\r
615 #\r
616!if $(MEASURED_BOOT_ENABLE)\r
617 SecurityPkg/Tcg/TrEEConfig/TrEEConfigPei.inf\r
618 SecurityPkg/Tcg/TcgPei/TcgPei.inf\r
619!endif\r
620\r
b303605e
MK
621 #\r
622 # Recovery\r
623 #\r
8affbb62 624!if $(RECOVERY_ENABLE)\r
b303605e
MK
625 QuarkSocPkg/QuarkSouthCluster/Usb/Common/Pei/UsbPei.inf\r
626 MdeModulePkg/Bus/Pci/EhciPei/EhciPei.inf\r
627 QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Pei/OhciPei.inf\r
628 MdeModulePkg/Bus/Usb/UsbBotPei/UsbBotPei.inf\r
629 MdeModulePkg/Bus/Usb/UsbBusPei/UsbBusPei.inf\r
630 FatPkg/FatPei/FatPei.inf\r
631 MdeModulePkg/Universal/Disk/CdExpressPei/CdExpressPei.inf\r
8affbb62
JY
632 SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.inf {\r
633 <LibraryClasses>\r
634 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf\r
635 }\r
636!endif\r
b303605e
MK
637\r
638[Components.IA32]\r
639 #\r
640 # DXE Core\r
641 #\r
642 MdeModulePkg/Core/Dxe/DxeMain.inf\r
643\r
644!if $(SOURCE_DEBUG_ENABLE)\r
645 SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.inf {\r
646 <LibraryClasses>\r
647 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
648 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf\r
649 }\r
650!endif\r
651\r
652\r
653 QuarkPlatformPkg/Platform/Dxe/PlatformInit/PlatformInitDxe.inf\r
654\r
655 #\r
656 # Components that produce the architectural protocols\r
657 #\r
658 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
659 <LibraryClasses>\r
660!if $(SECURE_BOOT_ENABLE)\r
661 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
662!endif\r
663 NULL|SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf\r
664 }\r
665 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
666 MdeModulePkg/Universal/Metronome/Metronome.inf\r
667 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
668 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
669 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
670!if $(SECURE_BOOT_ENABLE)\r
671 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
672!endif\r
673 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
674 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r
675 <LibraryClasses>\r
676 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
677 NULL|MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiLib.inf\r
678 NULL|MdeModulePkg/Library/VarCheckPcdLib/VarCheckPcdLib.inf\r
679 }\r
680\r
8affbb62 681 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
b303605e
MK
682 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
683 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
684 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
685\r
686 #\r
687 # Following are the DXE drivers (alphabetical order)\r
688 #\r
689 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
690 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
691 <LibraryClasses>\r
692 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
693 }\r
694\r
695 QuarkPlatformPkg/Pci/Dxe/PciHostBridge/PciHostBridge.inf\r
696 QuarkPlatformPkg/Platform/SpiFvbServices/PlatformSpi.inf\r
697 QuarkPlatformPkg/Platform/SpiFvbServices/PlatformSmmSpi.inf\r
698 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
699\r
700 #\r
701 # Platform\r
702 #\r
703 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
704 <LibraryClasses>\r
b303605e 705 PlatformBootManagerLib|QuarkPlatformPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
8affbb62
JY
706!if $(CAPSULE_ENABLE)\r
707 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf\r
708!else\r
709 FmpAuthenticationLib|MdeModulePkg/Library/FmpAuthenticationLibNull/FmpAuthenticationLibNull.inf\r
710!endif\r
b303605e
MK
711 }\r
712 MdeModulePkg/Application/UiApp/UiApp.inf {\r
713 <LibraryClasses>\r
8ab970f2
MK
714 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
715 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
716 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
b303605e 717\r
b303605e
MK
718 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
719 }\r
720\r
721 QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/QNCInitDxe.inf\r
722 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf\r
723 QuarkSocPkg/QuarkNorthCluster/Smm/Dxe/SmmAccessDxe/SmmAccess.inf\r
724 QuarkPlatformPkg/Platform/Dxe/Setup/DxePlatform.inf\r
725 QuarkSocPkg/QuarkNorthCluster/Spi/PchSpiRuntime.inf {\r
726 <LibraryClasses>\r
727 PciExpressLib|MdePkg/Library/DxeRuntimePciExpressLib/DxeRuntimePciExpressLib.inf\r
728 }\r
729 QuarkSocPkg/QuarkNorthCluster/Spi/PchSpiSmm.inf\r
730 QuarkSocPkg/QuarkNorthCluster/S3Support/Dxe/QncS3Support.inf\r
731 MdeModulePkg/Universal/SectionExtractionDxe/SectionExtractionDxe.inf\r
732 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
733 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
734 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {\r
735 <LibraryClasses>\r
736 !if $(LOGGING)\r
737 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
738 !else\r
739 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
740 !endif\r
741 }\r
742 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSmm.inf\r
743 MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerSmm.inf {\r
744 <LibraryClasses>\r
745 !if $(LOGGING)\r
746 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
747 !else\r
748 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
749 !endif\r
750 }\r
751 #\r
752 # ACPI\r
753 #\r
754 QuarkPlatformPkg/Platform/Dxe/SaveMemoryConfig/SaveMemoryConfig.inf\r
755 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
756# MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf {\r
757 QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/BootScriptExecutorDxe.inf {\r
758 <LibraryClasses>\r
759 !if $(LOGGING)\r
760 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
761 !else\r
762 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
763 !endif\r
764 !if $(SOURCE_DEBUG_ENABLE)\r
765 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
766 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf\r
767 !endif\r
768 }\r
769 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
770 IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3SaveDxe.inf\r
771 QuarkPlatformPkg/Acpi/AcpiTables/AcpiTables.inf\r
772 QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPlatform.inf\r
773\r
774 #\r
775 # SMM\r
776 #\r
777 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
778 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
779 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r
780 <LibraryClasses>\r
781 SmmCpuFeaturesLib|QuarkSocPkg/QuarkNorthCluster/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
782 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
783\r
784 !if $(LOGGING)\r
785 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
786 !else\r
787 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
788 !endif\r
789 !if $(SOURCE_DEBUG_ENABLE)\r
790 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r
791 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf\r
792 !endif\r
793 <PcdsPatchableInModule>\r
794 #\r
795 # Disable DEBUG_CACHE because SMI entry/exit may change MTRRs\r
796 #\r
797 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x801000C7\r
798 }\r
799\r
800 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
801 QuarkSocPkg/QuarkNorthCluster/Smm/Dxe/SmmControlDxe/SmmControlDxe.inf\r
802 QuarkSocPkg/QuarkNorthCluster/Smm/DxeSmm/QncSmmDispatcher/QNCSmmDispatcher.inf\r
803 QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/AcpiSmmPlatform.inf\r
804 QuarkPlatformPkg/Acpi/DxeSmm/SmmPowerManagement/SmmPowerManagement.inf\r
805 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf\r
806 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf\r
807\r
808 #\r
809 # SMBIOS\r
810 #\r
811 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
812 QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/SmbiosMiscDxe.inf\r
813 QuarkPlatformPkg/Platform/Dxe/MemorySubClass/MemorySubClass.inf\r
814 #\r
815 # PCI\r
816 #\r
817 QuarkPlatformPkg/Pci/Dxe/PciPlatform/PciPlatform.inf\r
818 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r
819 QuarkSocPkg/QuarkSouthCluster/IohInit/Dxe/IohInitDxe.inf\r
820 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf\r
821\r
822 #\r
823 # USB\r
824 #\r
825 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
826 QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/OhciDxe.inf\r
827 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
828 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
829 MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf\r
830 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
831\r
832 #\r
833 # SDIO\r
834 #\r
835 QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDControllerDxe.inf {\r
836 <PcdsPatchableInModule>\r
837 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80300087\r
838 }\r
839 QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDeviceDxe.inf {\r
840 <PcdsPatchableInModule>\r
841 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80300087\r
842 }\r
843\r
844 #\r
845 # Console\r
846 #\r
847 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
848 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {\r
849 <LibraryClasses>\r
850 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
851 }\r
852 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
853 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
854 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf {\r
855 <LibraryClasses>\r
856 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
857 }\r
858 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
859 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
860\r
861 #\r
862 # File System Modules\r
863 #\r
864 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
865 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
866 FatPkg/EnhancedFatDxe/Fat.inf\r
867!if $(PERFORMANCE_ENABLE)\r
868 MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf\r
869!endif\r
870\r
871 #\r
872 # Capsule update\r
873 #\r
874 IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolDxe.inf\r
875 IntelFrameworkModulePkg/Universal/FirmwareVolume/UpdateDriverDxe/UpdateDriverDxe.inf\r
876\r
6ceeb1e2
MK
877 #\r
878 # Trusted Platform Module\r
879 #\r
880!if $(MEASURED_BOOT_ENABLE)\r
62c9131a 881 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf\r
6ceeb1e2 882 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf\r
62c9131a 883 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf\r
6ceeb1e2
MK
884!endif\r
885\r
b303605e
MK
886 #\r
887 # Performance Application\r
888 #\r
889!if $(PERFORMANCE_ENABLE)\r
890 PerformancePkg/Dp_App/Dp.inf {\r
891 <LibraryClasses>\r
892 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
893 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
894 }\r
895!endif\r
896\r
96323609
MK
897 #\r
898 # Force Recovery Application\r
899 #\r
900 QuarkPlatformPkg/Application/ForceRecovery/ForceRecovery.inf\r
901\r
b303605e
MK
902 ShellPkg/Application/Shell/Shell.inf {\r
903 <LibraryClasses>\r
904 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
905 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
906 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
907 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
908 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
909 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
910 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
911 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
912 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
913 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
914 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
915 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
916 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
917\r
918 <PcdsFixedAtBuild>\r
919 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
920 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
921 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
922 }\r
923\r
8affbb62
JY
924!if $(CAPSULE_ENABLE)\r
925 MdeModulePkg/Universal/EsrtDxe/EsrtDxe.inf\r
926\r
927 SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareReportDxe.inf {\r
928 <LibraryClasses>\r
929 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf\r
930 }\r
931 SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareUpdateDxe.inf {\r
932 <LibraryClasses>\r
933 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf\r
934 }\r
935\r
936 MdeModulePkg/Application/CapsuleApp/CapsuleApp.inf {\r
937 <LibraryClasses>\r
938 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
939 }\r
940!endif\r
941\r
b303605e
MK
942[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r
943 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096\r
17abe976
JY
944\r
945# Force PE/COFF sections to be aligned at 4KB boundaries to support page level protection of DXE_SMM_DRIVER/SMM_CORE modules\r
946[BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]\r
947 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096\r
948 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
949\r