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