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