]> git.proxmox.com Git - mirror_edk2.git/blame - QuarkSocPkg/QuarkSocPkg.dsc
BaseTools: Fix corner-cases of --hash feature
[mirror_edk2.git] / QuarkSocPkg / QuarkSocPkg.dsc
CommitLineData
9b6bbcdb
MK
1## @file\r
2# INTEL Quark SoC Module Package Reference Implementations\r
3#\r
4# This DSC file is used for Package Level build.\r
5#\r
6# This Module provides FRAMEWORK reference implementation for INTEL Quark SoC.\r
eb0e9649 7# Copyright (c) 2013-2016 Intel Corporation.\r
9b6bbcdb 8#\r
c9f231d0 9# SPDX-License-Identifier: BSD-2-Clause-Patent\r
9b6bbcdb
MK
10#\r
11##\r
12\r
13################################################################################\r
14#\r
15# Defines Section - statements that will be processed to create a Makefile.\r
16#\r
17################################################################################\r
18[Defines]\r
19 PLATFORM_NAME = QuarkSocPkg\r
20 PLATFORM_GUID = 5F9864F4-EAFB-4ded-A41A-CA501EE50502\r
21 PLATFORM_VERSION = 0.1\r
22 DSC_SPECIFICATION = 0x00010005\r
23 OUTPUT_DIRECTORY = Build/QuarkSocPkg\r
eb0e9649 24 SUPPORTED_ARCHITECTURES = IA32\r
9b6bbcdb
MK
25 BUILD_TARGETS = DEBUG|RELEASE\r
26 SKUID_IDENTIFIER = DEFAULT\r
27\r
28################################################################################\r
29#\r
30# SKU Identification section - list of all SKU IDs supported by this\r
31# Platform.\r
32#\r
33################################################################################\r
34[SkuIds]\r
35 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.\r
36\r
37################################################################################\r
38#\r
39# Library Class section - list of all Library Classes needed by this Platform.\r
40#\r
41################################################################################\r
42[LibraryClasses]\r
43 #\r
44 # Entry point\r
45 #\r
46 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
47 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
48 #\r
49 # Basic\r
50 #\r
51 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
52 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
53 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
54 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
55 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
56 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
df67c686 57 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
9b6bbcdb
MK
58 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
59 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
60 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
61 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
62!if $(CFG_SOURCE_DEBUG) == 1\r
63 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
64!else\r
65 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
66!endif\r
67 #\r
68 # UEFI & PI\r
69 #\r
70 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
71 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
72 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
73 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
74 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
75 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
76 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
77 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
78 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
79 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
80 #\r
81 # Framework\r
82 #\r
83 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r
84 S3IoLib|MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf\r
85 S3PciLib|MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf\r
86 #\r
87 # Generic Modules\r
88 #\r
89 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
90\r
91 #\r
92 # CPU\r
93 #\r
94 MtrrLib|QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/MtrrLib.inf\r
95 #\r
96 # Quark North Cluster\r
97 #\r
98 SmmLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.inf\r
99 SmbusLib|QuarkSocPkg/QuarkNorthCluster/Library/SmbusLib/SmbusLib.inf\r
100 TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
101 ResetSystemLib|QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.inf\r
102 IntelQNCLib|QuarkSocPkg/QuarkNorthCluster/Library/IntelQNCLib/IntelQNCLib.inf\r
103 QNCAccessLib|QuarkSocPkg/QuarkNorthCluster/Library/QNCAccessLib/QNCAccessLib.inf\r
104 #\r
105 # Quark South Cluster\r
106 #\r
107 IohLib|QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.inf\r
108 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf\r
109 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf\r
110 #\r
111 # Misc\r
112 #\r
e694617d 113 DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
9b6bbcdb
MK
114 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
115 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
116 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
117!if $(CFG_SOURCE_DEBUG) == TRUE\r
118 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
119!else\r
120 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
121!endif\r
122\r
123[LibraryClasses.IA32.PEIM,LibraryClasses.IA32.PEI_CORE]\r
124 #\r
125 # SEC and PEI phase common\r
126 #\r
127 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
128 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
129 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
130 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
131 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
132 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
133!if $(CFG_SOURCE_DEBUG) == TRUE\r
134 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
135!endif\r
136 TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf\r
137\r
138[LibraryClasses.IA32.SEC]\r
139 #\r
140 # SEC specific phase\r
141 #\r
142 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
143 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
144 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
145 TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf\r
146\r
147[LibraryClasses.IA32]\r
148 #\r
149 # DXE phase common\r
150 #\r
151 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
152 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
153 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
154 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
155 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf\r
156!if $(CFG_SOURCE_DEBUG) == 1\r
157 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
158!endif\r
159\r
160[LibraryClasses.IA32.DXE_SMM_DRIVER]\r
161 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
162 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf\r
163 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
164 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf\r
165!if $(CFG_SOURCE_DEBUG) == TRUE\r
166 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r
167!endif\r
168\r
169[LibraryClasses.IA32.SMM_CORE]\r
170 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf\r
171\r
172[LibraryClasses.IA32.DXE_RUNTIME_DRIVER]\r
173 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
174\r
175[LibraryClasses.IA32.UEFI_DRIVER,LibraryClasses.IA32.UEFI_APPLICATION]\r
176 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
177\r
178################################################################################\r
179#\r
180# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
181#\r
182################################################################################\r
183\r
184[PcdsFixedAtBuild]\r
185 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|0x03\r
186 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|0x07\r
187 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|FALSE\r
188 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|44236800\r
189 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfo|{0x14, 0x05, 0x84, 0x00, 0xFF}\r
190 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|4\r
191\r
192 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBusNumber |0\r
193 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciDeviceNumber |31\r
194 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciFunctionNumber |0\r
195 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciEnableRegisterOffset|0x4b\r
196 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoBarEnableMask |0x80\r
197 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBarRegisterOffset |0x48\r
198 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPortBaseAddress |0x1000\r
199 gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiPm1TmrOffset |0x0008\r
200\r
201[PcdsFeatureFlag]\r
202\r
203################################################################################\r
204#\r
205# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
206#\r
207################################################################################\r
208\r
209[PcdsDynamicDefault.common.DEFAULT]\r
210\r
211###################################################################################################\r
212#\r
213# Components Section - list of the modules and components that will be processed by compilation\r
214# tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
215#\r
216# Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
217# into firmware volume images. This section is just a list of modules to compile from\r
218# source into UEFI-compliant binaries.\r
219# It is the FDF file that contains information on combining binary files into firmware\r
220# volume images, whose concept is beyond UEFI and is described in PI specification.\r
221# Binary modules do not need to be listed in this section, as they should be\r
222# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r
223# Logo (Logo.bmp), and etc.\r
224# There may also be modules listed in this section that are not required in the FDF file,\r
225# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
226# generated for it, but the binary will not be put into any firmware volume.\r
227#\r
228###################################################################################################\r
229\r
230[Components]\r
231 QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/MemoryInitPei.inf\r
232 QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmAccessPei/SmmAccessPei.inf\r
233 QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmControlPei/SmmControlPei.inf\r
234 QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/QNCInitDxe.inf\r
235 QuarkSocPkg/QuarkNorthCluster/Smm/Dxe/SmmAccessDxe/SmmAccess.inf\r
236 QuarkSocPkg/QuarkNorthCluster/Spi/PchSpiRuntime.inf {\r
237 <LibraryClasses>\r
238 PciExpressLib|MdePkg/Library/DxeRuntimePciExpressLib/DxeRuntimePciExpressLib.inf\r
239 }\r
240 QuarkSocPkg/QuarkNorthCluster/Spi/PchSpiSmm.inf\r
241 QuarkSocPkg/QuarkNorthCluster/S3Support/Dxe/QncS3Support.inf {\r
242 <LibraryClasses>\r
eb0e9649
MK
243 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
244 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
9b6bbcdb
MK
245 }\r
246 QuarkSocPkg/QuarkNorthCluster/Smm/Dxe/SmmControlDxe/SmmControlDxe.inf\r
247 QuarkSocPkg/QuarkNorthCluster/Smm/DxeSmm/QncSmmDispatcher/QNCSmmDispatcher.inf\r
248\r
249 QuarkSocPkg/QuarkSouthCluster/Usb/Common/Pei/UsbPei.inf\r
250 QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Pei/OhciPei.inf\r
251 QuarkSocPkg/QuarkSouthCluster/IohInit/Dxe/IohInitDxe.inf\r
252 QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/OhciDxe.inf\r
253 QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDControllerDxe.inf\r
254 QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/SDMediaDeviceDxe.inf\r