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