]> git.proxmox.com Git - mirror_edk2.git/blame - QuarkPlatformPkg/Quark.dsc
Vlv2TbltDevicePkg/Override/GenericBdsLib: Use BmpSupportLib
[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
568556cf 5# Copyright (c) 2013 - 2018 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
fd55a5be
RN
166 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
167 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
168\r
6ceeb1e2
MK
169 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
170 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
b303605e 171 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
6ceeb1e2
MK
172\r
173!if $(SECURE_BOOT_ENABLE)\r
b303605e 174 PlatformSecureLib|QuarkPlatformPkg/Library/PlatformSecureLib/PlatformSecureLib.inf\r
b303605e
MK
175 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
176!else\r
b303605e
MK
177 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
178!endif\r
6ceeb1e2
MK
179\r
180!if $(MEASURED_BOOT_ENABLE)\r
181 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
182 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf\r
183!if $(TPM_12_HARDWARE) == LPC\r
184 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
185!endif\r
186!if $(TPM_12_HARDWARE) == ATMEL_I2C\r
187 Tpm12DeviceLib|QuarkPlatformPkg/Library/Tpm12DeviceLibAtmelI2c/Tpm12DeviceLibAtmelI2c.inf\r
188!endif\r
189!if $(TPM_12_HARDWARE) == INFINEON_I2C\r
190 Tpm12DeviceLib|QuarkPlatformPkg/Library/Tpm12DeviceLibInfineonI2c/Tpm12DeviceLibInfineonI2c.inf\r
191!endif\r
62c9131a 192 TcgPpVendorLib|SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf\r
6ceeb1e2
MK
193!else\r
194 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
195!endif\r
196\r
b303605e
MK
197 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
198\r
199 #\r
200 # CPU\r
201 #\r
202 MtrrLib|QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/MtrrLib.inf\r
203 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf\r
ee78341e 204 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
b303605e
MK
205\r
206 #\r
207 # Quark North Cluster\r
208 #\r
209 SmmLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.inf\r
210 SmbusLib|QuarkSocPkg/QuarkNorthCluster/Library/SmbusLib/SmbusLib.inf\r
211 TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
212 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf\r
213 IntelQNCLib|QuarkSocPkg/QuarkNorthCluster/Library/IntelQNCLib/IntelQNCLib.inf\r
214 QNCAccessLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCAccessLib/QNCAccessLib.inf\r
215 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf\r
216\r
217 #\r
218 # Quark South Cluster\r
219 #\r
220 IohLib|QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.inf\r
221 I2cLib|QuarkSocPkg/QuarkSouthCluster/Library/I2cLib/I2cLib.inf\r
222 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf\r
223 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf\r
224\r
225 #\r
226 # Quark Platform\r
227 #\r
b303605e
MK
228 PlatformSecLib|QuarkPlatformPkg/Library/PlatformSecLib/PlatformSecLib.inf\r
229 PlatformPcieHelperLib|QuarkPlatformPkg/Library/PlatformPcieHelperLib/PlatformPcieHelperLib.inf\r
230 PlatformHelperLib|QuarkPlatformPkg/Library/PlatformHelperLib/DxePlatformHelperLib.inf\r
231\r
8affbb62
JY
232!if $(CAPSULE_ENABLE)\r
233 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf\r
234!else\r
235 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
236!endif\r
237\r
238 EdkiiSystemCapsuleLib|SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf\r
239 FmpAuthenticationLib|MdeModulePkg/Library/FmpAuthenticationLibNull/FmpAuthenticationLibNull.inf\r
240 IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf\r
241 PlatformFlashAccessLib|QuarkPlatformPkg/Feature/Capsule/Library/PlatformFlashAccessLib/PlatformFlashAccessLibDxe.inf\r
242\r
b303605e
MK
243[LibraryClasses.common.SEC]\r
244 #\r
245 # SEC specific phase\r
246 #\r
247 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
248 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
249 TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf\r
250 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
251 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
252 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
253\r
254[LibraryClasses.IA32.PEIM,LibraryClasses.IA32.PEI_CORE]\r
255 #\r
256 # PEI phase common\r
257 #\r
258 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
259 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
260 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
261 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
262 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
263 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
264 TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf\r
265 PlatformHelperLib|QuarkPlatformPkg/Library/PlatformHelperLib/PeiPlatformHelperLib.inf\r
266 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
ee78341e 267 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
b303605e 268 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
b303605e
MK
269!if $(PERFORMANCE_ENABLE)\r
270 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
271!endif\r
272\r
273[LibraryClasses.IA32.DXE_CORE]\r
274 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
275 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
276 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
277!if $(PERFORMANCE_ENABLE)\r
278 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r
279!endif\r
280\r
281[LibraryClasses.IA32.DXE_SMM_DRIVER]\r
282 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
283 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf\r
284 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
285 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf\r
286 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
287 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
288 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
b303605e 289 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
b303605e
MK
290!if $(PERFORMANCE_ENABLE)\r
291 PerformanceLib|MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf\r
292!endif\r
293\r
294[LibraryClasses.IA32.SMM_CORE]\r
295 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
296 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf\r
297 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
298 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
299 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
6ceeb1e2 300!if $(SECURE_BOOT_ENABLE) || $(MEASURED_BOOT_ENABLE)\r
b303605e
MK
301 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
302!endif\r
303!if $(PERFORMANCE_ENABLE)\r
304 PerformanceLib|MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf\r
305!endif\r
306\r
307[LibraryClasses.IA32.DXE_RUNTIME_DRIVER]\r
308 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
309 QNCAccessLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCAccessLib/RuntimeQNCAccessLib.inf\r
310 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
6ceeb1e2 311!if $(SECURE_BOOT_ENABLE) || $(MEASURED_BOOT_ENABLE)\r
b303605e
MK
312 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
313!endif\r
314\r
8affbb62
JY
315!if $(CAPSULE_ENABLE)\r
316 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf\r
317!endif\r
318\r
b303605e
MK
319[LibraryClasses.IA32.UEFI_DRIVER,LibraryClasses.IA32.UEFI_APPLICATION]\r
320 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
321\r
322################################################################################\r
323#\r
324# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
325#\r
326################################################################################\r
327[PcdsFeatureFlag]\r
328 gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText|TRUE\r
329 gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText|TRUE\r
330 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE\r
331 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
332 gEfiMdeModulePkgTokenSpaceGuid.PcdPciBusHotplugDeviceSupport|FALSE\r
333 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r
334!if $(SOURCE_DEBUG_ENABLE)\r
335 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmDebug|TRUE\r
336!endif\r
337\r
338!if $(TARGET) == "RELEASE"\r
339 gQuarkPlatformTokenSpaceGuid.WaitIfResetDueToError|FALSE\r
340!else\r
341 gQuarkPlatformTokenSpaceGuid.WaitIfResetDueToError|TRUE\r
342!endif\r
343\r
344[PcdsFixedAtBuild]\r
345 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|1\r
346 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize|0x20000\r
347 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|TRUE\r
348!if $(LOGGING)\r
349 !if $(SOURCE_DEBUG_ENABLE)\r
350 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
351 !else\r
352 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27\r
353 !endif\r
354 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
355!else\r
356 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0\r
357 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0x0\r
358 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x3\r
359!endif\r
360 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0x18\r
361 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r
362!if $(GALILEO) == GEN1\r
363 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|460800\r
364!endif\r
365!if $(GALILEO) == GEN2\r
366 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|921600\r
367!endif\r
368 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|8\r
369 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|1\r
370 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|1\r
371 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|0\r
372!if $(PERFORMANCE_ENABLE)\r
373 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x1\r
374 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|80\r
375!else\r
376 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x00\r
377!endif\r
378 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|0\r
379!if $(SECURE_BOOT_ENABLE)\r
380 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
381!endif\r
382 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x00002000\r
383 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x1000\r
384 ## RTC Update Timeout Value, need to increase timeout since also\r
385 # waiting for RTC to be busy.\r
386 gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|500000\r
387\r
388!if $(SECURE_BOOT_ENABLE)\r
389 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot\r
390 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04\r
391 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04\r
392 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04\r
393!endif\r
394 gQuarkPlatformTokenSpaceGuid.PcdEsramStage1Base|0x80000000\r
395\r
396!if $(SOURCE_DEBUG_ENABLE)\r
397 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
398!endif\r
399\r
400 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|TRUE\r
401 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x9000B000\r
402!if $(GALILEO) == GEN1\r
403 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|460800\r
404 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE\r
405!endif\r
406!if $(GALILEO) == GEN2\r
407 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|921600\r
408 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE\r
409!endif\r
410 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|0x03\r
411 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|0x07\r
412 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|FALSE\r
413 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|44236800\r
414 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfo|{0x14, 0x05, 0x84, 0x00, 0xFF}\r
415 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|4\r
416\r
417 #\r
418 # typedef struct {\r
419 # UINT16 VendorId; ///< Vendor ID to match the PCI device. The value 0xFFFF terminates the list of entries.\r
420 # UINT16 DeviceId; ///< Device ID to match the PCI device\r
421 # UINT32 ClockRate; ///< UART clock rate. Set to 0 for default clock rate of 1843200 Hz\r
422 # UINT64 Offset; ///< The byte offset into to the BAR\r
423 # UINT8 BarIndex; ///< Which BAR to get the UART base address\r
424 # UINT8 RegisterStride; ///< UART register stride in bytes. Set to 0 for default register stride of 1 byte.\r
425 # UINT16 ReceiveFifoDepth; ///< UART receive FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.\r
426 # UINT16 TransmitFifoDepth; ///< UART transmit FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.\r
427 # UINT8 Reserved[2];\r
428 # } PCI_SERIAL_PARAMETER;\r
429 #\r
430 # Vendor 8086 Device 0936 Prog Interface 2, BAR #0, Offset 0, Stride = 4, Clock 44236800 (0x2a300000)\r
431 # Vendor 8086 Device 0936 Prog Interface 2, BAR #0, Offset 0, Stride = 4, Clock 44236800 (0x2a300000)\r
432 #\r
433 # [Vendor] [Device] [---ClockRate---] [------------Offset-----------] [Bar] [Stride] [RxFifo] [TxFifo] [Rsvd] [Vendor]\r
434 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
435\r
436 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBusNumber |0\r
437 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciDeviceNumber |31\r
438 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciFunctionNumber |0\r
439 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciEnableRegisterOffset|0x4b\r
440 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoBarEnableMask |0x80\r
441 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBarRegisterOffset |0x48\r
442 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPortBaseAddress |0x1000\r
443 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiPm1TmrOffset |0x0008\r
444\r
445 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
446\r
447 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE\r
448\r
8affbb62
JY
449!if $(RECOVERY_ENABLE)\r
450 gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName|L"QUARKREC.Cap"\r
451!endif\r
452\r
b303605e
MK
453[PcdsPatchableInModule]\r
454 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803000C7\r
455 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
456\r
457[PcdsDynamicExHii.common.DEFAULT]\r
458!if $(PERFORMANCE_ENABLE)\r
459 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|0\r
460!else\r
461 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5\r
462!endif\r
463 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBootState|L"BootState"|gQuarkPlatformTokenSpaceGuid|0x0|TRUE\r
464\r
465[PcdsDynamicExDefault.common.DEFAULT]\r
466 gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0x0\r
467 gQuarkPlatformTokenSpaceGuid.PcdEnableFastBoot|TRUE\r
468 gQuarkPlatformTokenSpaceGuid.PcdUserIsPhysicallyPresent|FALSE\r
469 gQuarkPlatformTokenSpaceGuid.PcdSpiFlashDeviceSize|0\r
470\r
8affbb62
JY
471!if $(CAPSULE_ENABLE) || $(RECOVERY_ENABLE)\r
472 gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareImageDescriptor|{0x0}|VOID*|0x100\r
473 gEfiMdeModulePkgTokenSpaceGuid.PcdSystemFmpCapsuleImageTypeIdGuid|{0xc0, 0x20, 0xaf, 0x62, 0x16, 0x70, 0x4a, 0x42, 0x9b, 0xf8, 0x9c, 0xcc, 0x86, 0x58, 0x40, 0x90}\r
474 gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareFileGuid|{0x59, 0x3A, 0xD8, 0x14, 0x10, 0xA8, 0x56, 0x45, 0x81, 0x92, 0x1C, 0x0A, 0x59, 0x3C, 0x06, 0x5C}\r
475!endif\r
476\r
6ceeb1e2
MK
477!if $(MEASURED_BOOT_ENABLE)\r
478 #\r
479 # TPM1.2 { 0x8b01e5b6, 0x4f19, 0x46e8, { 0xab, 0x93, 0x1c, 0x53, 0x67, 0x1b, 0x90, 0xcc } }\r
480 # TPM2.0 DTPM { 0x286bf25a, 0xc2c3, 0x408c, { 0xb3, 0xb4, 0x25, 0xe6, 0x75, 0x8b, 0x73, 0x17 } }\r
481 #\r
482 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0xb6, 0xe5, 0x01, 0x8b, 0x19, 0x4f, 0xe8, 0x46, 0xab, 0x93, 0x1c, 0x53, 0x67, 0x1b, 0x90, 0xcc}\r
483 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1\r
484 gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1\r
485!endif\r
486\r
b303605e
MK
487[PcdsDynamicExVpd]\r
488 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|*|32|L"EDK II"\r
489 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareRevision|*|0x01000400\r
490 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|*|64|L"Galileo 1.0.4"\r
491\r
492#\r
493# ClantonPeakSVP\r
494# gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0002\r
495# gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"ClantonPeakSVP"\r
496# 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
497#\r
498# KipsBay\r
499# gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0003\r
500# gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"KipsBay"\r
501# 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
502#\r
503# CrossHill\r
504# gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0004\r
505# gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"CrossHill"\r
506# 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
507#\r
508# ClantonHill\r
509# gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0005\r
510# gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"ClantonHill"\r
511# 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
512#\r
513# Galileo\r
514# gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0006\r
515# gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"Galileo"\r
516# 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
517#\r
518# GalileoGen2\r
519# gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0008\r
520# gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"GalileoGen2"\r
521# 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
522#\r
523!if $(GALILEO) == GEN1\r
524 gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0006\r
525 gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"Galileo"\r
526 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
527!endif\r
528!if $(GALILEO) == GEN2\r
529 gQuarkPlatformTokenSpaceGuid.PcdPlatformType|*|0x0008\r
530 gQuarkPlatformTokenSpaceGuid.PcdPlatformTypeName|*|64|L"GalileoGen2"\r
531 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
532!endif\r
533 gEfiQuarkSCSocIdTokenSpaceGuid.PcdIohEthernetMac0|*|8|{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}\r
534 gEfiQuarkSCSocIdTokenSpaceGuid.PcdIohEthernetMac1|*|8|{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}\r
535\r
536###################################################################################################\r
537#\r
538# Components Section - list of the modules and components that will be processed by compilation\r
539# tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
540#\r
541# Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
542# into firmware volume images. This section is just a list of modules to compile from\r
543# source into UEFI-compliant binaries.\r
544# It is the FDF file that contains information on combining binary files into firmware\r
545# volume images, whose concept is beyond UEFI and is described in PI specification.\r
546# Binary modules do not need to be listed in this section, as they should be\r
547# specified in the FDF file. For example: Shell binary, FAT binary (Fat.efi),\r
548# Logo (Logo.bmp), and etc.\r
549# There may also be modules listed in this section that are not required in the FDF file,\r
550# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
551# generated for it, but the binary will not be put into any firmware volume.\r
552#\r
553###################################################################################################\r
554\r
555[Components.IA32]\r
556 #\r
557 # SEC Core\r
558 #\r
559 UefiCpuPkg/SecCore/SecCore.inf {\r
560 !if $(SOURCE_DEBUG_ENABLE)\r
561 <LibraryClasses>\r
562 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
563 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
564 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf\r
565 !endif\r
566 }\r
567\r
8affbb62
JY
568!if $(CAPSULE_ENABLE) || $(RECOVERY_ENABLE)\r
569 # FMP image decriptor\r
570 QuarkPlatformPkg/Feature/Capsule/SystemFirmwareDescriptor/SystemFirmwareDescriptor.inf\r
571!endif\r
572\r
b303605e
MK
573 #\r
574 # PEI Core\r
575 #\r
576 MdeModulePkg/Core/Pei/PeiMain.inf\r
577\r
578 #\r
579 # PEIM\r
580 #\r
581 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
582 <LibraryClasses>\r
583 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
584 }\r
585 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf\r
586 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {\r
587 <LibraryClasses>\r
588 !if $(LOGGING)\r
589 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
590 !else\r
591 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
592 !endif\r
593 }\r
594\r
595 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf\r
596 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r
597 MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei/PcatSingleSegmentPciCfg2Pei.inf\r
598 UefiCpuPkg/CpuMpPei/CpuMpPei.inf\r
599 MdeModulePkg/Universal/CapsulePei/CapsulePei.inf\r
600\r
601 QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/MemoryInitPei.inf\r
602 QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.inf\r
603 QuarkPlatformPkg/Platform/Pei/PlatformConfig/PlatformConfigPei.inf\r
604\r
605 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf\r
606\r
607 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
608\r
609 #\r
610 # S3\r
611 #\r
612 QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmAccessPei/SmmAccessPei.inf\r
613 QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmControlPei/SmmControlPei.inf\r
614 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf\r
615\r
6ceeb1e2
MK
616 #\r
617 # Trusted Platform Module\r
618 #\r
619!if $(MEASURED_BOOT_ENABLE)\r
620 SecurityPkg/Tcg/TrEEConfig/TrEEConfigPei.inf\r
621 SecurityPkg/Tcg/TcgPei/TcgPei.inf\r
622!endif\r
623\r
b303605e
MK
624 #\r
625 # Recovery\r
626 #\r
8affbb62 627!if $(RECOVERY_ENABLE)\r
b303605e
MK
628 QuarkSocPkg/QuarkSouthCluster/Usb/Common/Pei/UsbPei.inf\r
629 MdeModulePkg/Bus/Pci/EhciPei/EhciPei.inf\r
630 QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Pei/OhciPei.inf\r
631 MdeModulePkg/Bus/Usb/UsbBotPei/UsbBotPei.inf\r
632 MdeModulePkg/Bus/Usb/UsbBusPei/UsbBusPei.inf\r
633 FatPkg/FatPei/FatPei.inf\r
634 MdeModulePkg/Universal/Disk/CdExpressPei/CdExpressPei.inf\r
8affbb62
JY
635 SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.inf {\r
636 <LibraryClasses>\r
637 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf\r
638 }\r
639!endif\r
b303605e
MK
640\r
641[Components.IA32]\r
642 #\r
643 # DXE Core\r
644 #\r
645 MdeModulePkg/Core/Dxe/DxeMain.inf\r
646\r
647!if $(SOURCE_DEBUG_ENABLE)\r
648 SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.inf {\r
649 <LibraryClasses>\r
650 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
651 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf\r
652 }\r
653!endif\r
654\r
655\r
656 QuarkPlatformPkg/Platform/Dxe/PlatformInit/PlatformInitDxe.inf\r
657\r
658 #\r
659 # Components that produce the architectural protocols\r
660 #\r
661 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
662 <LibraryClasses>\r
663!if $(SECURE_BOOT_ENABLE)\r
664 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
665!endif\r
666 NULL|SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf\r
667 }\r
668 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
669 MdeModulePkg/Universal/Metronome/Metronome.inf\r
670 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
671 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
672 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
673!if $(SECURE_BOOT_ENABLE)\r
674 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
675!endif\r
676 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
677 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r
678 <LibraryClasses>\r
679 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
680 NULL|MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiLib.inf\r
681 NULL|MdeModulePkg/Library/VarCheckPcdLib/VarCheckPcdLib.inf\r
682 }\r
683\r
8affbb62 684 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
b303605e
MK
685 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
686 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
687 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
688\r
689 #\r
690 # Following are the DXE drivers (alphabetical order)\r
691 #\r
692 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
693 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
694 <LibraryClasses>\r
695 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
696 }\r
697\r
698 QuarkPlatformPkg/Pci/Dxe/PciHostBridge/PciHostBridge.inf\r
699 QuarkPlatformPkg/Platform/SpiFvbServices/PlatformSpi.inf\r
700 QuarkPlatformPkg/Platform/SpiFvbServices/PlatformSmmSpi.inf\r
701 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
702\r
703 #\r
704 # Platform\r
705 #\r
706 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
707 <LibraryClasses>\r
b303605e 708 PlatformBootManagerLib|QuarkPlatformPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
8affbb62
JY
709!if $(CAPSULE_ENABLE)\r
710 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf\r
711!else\r
712 FmpAuthenticationLib|MdeModulePkg/Library/FmpAuthenticationLibNull/FmpAuthenticationLibNull.inf\r
713!endif\r
b303605e
MK
714 }\r
715 MdeModulePkg/Application/UiApp/UiApp.inf {\r
716 <LibraryClasses>\r
8ab970f2
MK
717 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
718 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
719 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
b303605e 720\r
b303605e
MK
721 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
722 }\r
723\r
724 QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/QNCInitDxe.inf\r
725 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf\r
726 QuarkSocPkg/QuarkNorthCluster/Smm/Dxe/SmmAccessDxe/SmmAccess.inf\r
727 QuarkPlatformPkg/Platform/Dxe/Setup/DxePlatform.inf\r
728 QuarkSocPkg/QuarkNorthCluster/Spi/PchSpiRuntime.inf {\r
729 <LibraryClasses>\r
730 PciExpressLib|MdePkg/Library/DxeRuntimePciExpressLib/DxeRuntimePciExpressLib.inf\r
731 }\r
732 QuarkSocPkg/QuarkNorthCluster/Spi/PchSpiSmm.inf\r
733 QuarkSocPkg/QuarkNorthCluster/S3Support/Dxe/QncS3Support.inf\r
734 MdeModulePkg/Universal/SectionExtractionDxe/SectionExtractionDxe.inf\r
735 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
736 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
737 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {\r
738 <LibraryClasses>\r
739 !if $(LOGGING)\r
740 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
741 !else\r
742 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
743 !endif\r
744 }\r
745 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSmm.inf\r
746 MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerSmm.inf {\r
747 <LibraryClasses>\r
748 !if $(LOGGING)\r
749 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
750 !else\r
751 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
752 !endif\r
753 }\r
754 #\r
755 # ACPI\r
756 #\r
757 QuarkPlatformPkg/Platform/Dxe/SaveMemoryConfig/SaveMemoryConfig.inf\r
758 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
759# MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf {\r
760 QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/BootScriptExecutorDxe.inf {\r
761 <LibraryClasses>\r
762 !if $(LOGGING)\r
763 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
764 !else\r
765 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
766 !endif\r
767 !if $(SOURCE_DEBUG_ENABLE)\r
768 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
769 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf\r
770 !endif\r
771 }\r
772 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
773 IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3SaveDxe.inf\r
774 QuarkPlatformPkg/Acpi/AcpiTables/AcpiTables.inf\r
775 QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPlatform.inf\r
776\r
777 #\r
778 # SMM\r
779 #\r
780 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
781 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
782 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r
783 <LibraryClasses>\r
784 SmmCpuFeaturesLib|QuarkSocPkg/QuarkNorthCluster/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
785 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
786\r
787 !if $(LOGGING)\r
788 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
789 !else\r
790 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
791 !endif\r
792 !if $(SOURCE_DEBUG_ENABLE)\r
793 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r
794 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf\r
795 !endif\r
796 <PcdsPatchableInModule>\r
797 #\r
798 # Disable DEBUG_CACHE because SMI entry/exit may change MTRRs\r
799 #\r
800 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x801000C7\r
801 }\r
802\r
803 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
804 QuarkSocPkg/QuarkNorthCluster/Smm/Dxe/SmmControlDxe/SmmControlDxe.inf\r
805 QuarkSocPkg/QuarkNorthCluster/Smm/DxeSmm/QncSmmDispatcher/QNCSmmDispatcher.inf\r
806 QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/AcpiSmmPlatform.inf\r
807 QuarkPlatformPkg/Acpi/DxeSmm/SmmPowerManagement/SmmPowerManagement.inf\r
808 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf\r
809 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf\r
810\r
811 #\r
812 # SMBIOS\r
813 #\r
814 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
815 QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/SmbiosMiscDxe.inf\r
816 QuarkPlatformPkg/Platform/Dxe/MemorySubClass/MemorySubClass.inf\r
817 #\r
818 # PCI\r
819 #\r
820 QuarkPlatformPkg/Pci/Dxe/PciPlatform/PciPlatform.inf\r
821 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r
822 QuarkSocPkg/QuarkSouthCluster/IohInit/Dxe/IohInitDxe.inf\r
823 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf\r
824\r
825 #\r
826 # USB\r
827 #\r
828 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
829 QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/OhciDxe.inf\r
830 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
831 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
832 MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf\r
833 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
834\r
835 #\r
836 # SDIO\r
837 #\r
838 QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDControllerDxe.inf {\r
839 <PcdsPatchableInModule>\r
840 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80300087\r
841 }\r
842 QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDeviceDxe.inf {\r
843 <PcdsPatchableInModule>\r
844 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80300087\r
845 }\r
846\r
847 #\r
848 # Console\r
849 #\r
850 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
851 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {\r
852 <LibraryClasses>\r
853 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
854 }\r
855 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
856 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
857 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf {\r
858 <LibraryClasses>\r
859 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
860 }\r
861 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
862 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
863\r
864 #\r
865 # File System Modules\r
866 #\r
867 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
868 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
869 FatPkg/EnhancedFatDxe/Fat.inf\r
b303605e
MK
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
fd55a5be
RN
890 ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {\r
891 <PcdsFixedAtBuild>\r
892 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
b303605e 893 <LibraryClasses>\r
fd55a5be 894 PerformanceLib|MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmmPerformanceLib.inf\r
b303605e
MK
895 }\r
896!endif\r
897\r
96323609
MK
898 #\r
899 # Force Recovery Application\r
900 #\r
901 QuarkPlatformPkg/Application/ForceRecovery/ForceRecovery.inf\r
902\r
b303605e
MK
903 ShellPkg/Application/Shell/Shell.inf {\r
904 <LibraryClasses>\r
905 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
906 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
907 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
908 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
909 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
910 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
911 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
912 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
913 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
b303605e
MK
914 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
915 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
916\r
917 <PcdsFixedAtBuild>\r
918 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
919 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
920 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
921 }\r
922\r
8affbb62 923!if $(CAPSULE_ENABLE)\r
568556cf 924 MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmpDxe.inf\r
8affbb62
JY
925\r
926 SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareReportDxe.inf {\r
927 <LibraryClasses>\r
928 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf\r
929 }\r
930 SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareUpdateDxe.inf {\r
931 <LibraryClasses>\r
932 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf\r
933 }\r
934\r
935 MdeModulePkg/Application/CapsuleApp/CapsuleApp.inf {\r
936 <LibraryClasses>\r
937 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
938 }\r
939!endif\r
940\r
b303605e
MK
941[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r
942 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096\r
17abe976
JY
943\r
944# Force PE/COFF sections to be aligned at 4KB boundaries to support page level protection of DXE_SMM_DRIVER/SMM_CORE modules\r
945[BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]\r
946 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096\r
947 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
948\r