]> git.proxmox.com Git - mirror_edk2.git/blob - EmbeddedPkg/EmbeddedPkg.dsc
EmbeddedPkg Omap35xxPkg: remove EBL and associated libraries
[mirror_edk2.git] / EmbeddedPkg / EmbeddedPkg.dsc
1 #/** @file
2 # Embedded Package
3 #
4 #
5 # Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>
6 # Copyright (c) 2012-2015, ARM Ltd. All rights reserved.<BR>
7 # Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
8 #
9 # This program and the accompanying materials
10 # are licensed and made available under the terms and conditions of the BSD License
11 # which accompanies this distribution. The full text of the license may be found at
12 # http://opensource.org/licenses/bsd-license.php
13 #
14 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #
17 #**/
18
19 ################################################################################
20 #
21 # Defines Section - statements that will be processed to create a Makefile.
22 #
23 ################################################################################
24 [Defines]
25 PLATFORM_NAME = Embedded
26 PLATFORM_GUID = 8DBB580B-CF89-4D57-95C6-DFE96C44686E
27 PLATFORM_VERSION = 0.1
28 DSC_SPECIFICATION = 0x00010005
29 OUTPUT_DIRECTORY = Build/Embedded
30 SUPPORTED_ARCHITECTURES = IA32|X64|IPF|ARM|AARCH64
31 BUILD_TARGETS = DEBUG|RELEASE
32 SKUID_IDENTIFIER = DEFAULT
33 FLASH_DEFINITION = EmbeddedPkg/EmbeddedPkg.fdf
34
35
36 ################################################################################
37 #
38 # SKU Identification section - list of all SKU IDs supported by this
39 # Platform.
40 #
41 ################################################################################
42 [SkuIds]
43 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
44
45 ################################################################################
46 #
47 # Library Class section - list of all Library Classes needed by this Platform.
48 #
49 ################################################################################
50 [LibraryClasses.common]
51 # DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
52 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
53
54
55 AndroidBootImgLib|EmbeddedPkg/Library/AndroidBootImgLib/AndroidBootImgLib.inf
56 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
57 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
58 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
59 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
60 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
61 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
62
63 ReportStatusCodeLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
64
65 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
66 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
67 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
68 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
69 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
70
71 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
72 RealTimeClockLib|EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf
73 EfiResetSystemLib|EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf
74 GdbSerialLib|EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.inf
75
76
77 #
78 # Need to change this for IPF
79 #
80 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
81
82 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
83 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
84 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
85 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
86 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
87 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
88 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
89 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
90
91 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
92 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
93 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
94
95 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
96
97 AcpiLib|EmbeddedPkg/Library/AcpiLib/AcpiLib.inf
98 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
99
100 # Shell libraries
101 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
102 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
103 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
104
105 # Networking Requirements
106 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
107 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
108 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
109
110 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
111 DtPlatformDtbLoaderLib|EmbeddedPkg/Library/DxeDtPlatformDtbLoaderLibDefault/DxeDtPlatformDtbLoaderLibDefault.inf
112
113 [LibraryClasses.common.DXE_DRIVER]
114 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
115 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
116
117
118 [LibraryClasses.common.UEFI_APPLICATION]
119 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
120 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
121
122 [LibraryClasses.common.UEFI_DRIVER]
123 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
124 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
125
126 [LibraryClasses.common.SEC]
127 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
128
129 [LibraryClasses.ARM, LibraryClasses.AARCH64]
130 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
131 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
132 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
133 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
134 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
135
136 # Add support for GCC stack protector
137 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
138
139 ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
140
141 ################################################################################
142 #
143 # Pcd Section - list of all PCD Entries defined by this Platform
144 #
145 ################################################################################
146
147 [PcdsFeatureFlag.common]
148 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|FALSE
149 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|FALSE
150 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|FALSE
151 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|FALSE
152
153 #
154 # Control what commands are supported from the UI
155 # Turn these on and off to add features or save size
156 #
157 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
158 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
159 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
160 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
161 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
162 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
163 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
164
165 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|FALSE
166
167
168 [PcdsFixedAtBuild.common]
169 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
170 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
171 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
172 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
173 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f
174 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
175 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06
176 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
177 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0
178 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
179 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
180 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000
181 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
182 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
183 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
184 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000
185 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|L""
186 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
187 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
188
189 gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0
190 gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0
191
192 #
193 # Optinal feature to help prevent EFI memory map fragments
194 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
195 # Values are in EFI Pages (4K). DXE Core will make sure that
196 # at least this much of each type of memory can be allocated
197 # from a single memory range. This way you only end up with
198 # maximum of two fragements for each type in the memory map
199 # (the memory used, and the free memory that was prereserved
200 # but not used).
201 #
202 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
203 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
204 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
205 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0
206 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0
207 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|0
208 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|0
209 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|0
210 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
211
212 #
213 # Timer config for this platform
214 #
215 gEmbeddedTokenSpaceGuid.PcdTimerBaseAddress|0x3c700000
216 gEmbeddedTokenSpaceGuid.PcdTimerVector|7
217 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000
218
219 [PcdsFixedAtBuild.IPF]
220 gEfiMdePkgTokenSpaceGuid.PcdIoBlockBaseAddressForIpf|0x0ffffc000000
221
222 #
223 # This makes it so you can source level debug with NT32. VC++ debugger limitiation!
224 #
225 #[BuildOptions]
226 # DEBUG_*_IA32_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /ALIGN:4096 /SUBSYSTEM:CONSOLE
227 # RELEASE_*_IA32_DLINK_FLAGS = /ALIGN:4096
228 # *_*_IA32_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D TIANO_RELEASE_VERSION=0x00080006
229
230 [BuildOptions]
231 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu=7-A.security
232 *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
233
234 ################################################################################
235 #
236 # Components Section - list of all Modules needed by this Platform
237 #
238 ################################################################################
239 [Components.common]
240 EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.inf
241 EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.inf
242 EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
243 EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
244 EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf
245 EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf
246 EmbeddedPkg/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.inf
247 EmbeddedPkg/Library/CoherentDmaLib/CoherentDmaLib.inf
248 EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.inf
249 EmbeddedPkg/Library/DxeDtPlatformDtbLoaderLibDefault/DxeDtPlatformDtbLoaderLibDefault.inf
250
251 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
252 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
253 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
254 EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf
255 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf {
256 <LibraryClasses>
257 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
258 }
259
260 EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
261
262 # Drivers
263 EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.inf
264 EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132Dxe.inf
265
266 EmbeddedPkg/Library/AcpiLib/AcpiLib.inf
267 EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
268 EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf
269 EmbeddedPkg/Library/FdtLib/FdtLib.inf
270 EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf
271 EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
272 EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
273
274 EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.inf
275
276 [Components.ARM]
277 EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.inf
278
279 [Components.ARM, Components.AARCH64]
280 EmbeddedPkg/Application/AndroidBoot/AndroidBootApp.inf
281 EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.inf
282 EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsbDxe.inf
283 EmbeddedPkg/Drivers/AndroidFastbootTransportTcpDxe/FastbootTransportTcpDxe.inf
284
285 # FDT installation
286 EmbeddedPkg/Drivers/FdtPlatformDxe/FdtPlatformDxe.inf {
287 <LibraryClasses>
288 # It depends on BdsLib that depends on TimerLib
289 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
290 }
291
292 [Components.IA32, Components.X64, Components.IPF, Components.ARM]
293 EmbeddedPkg/GdbStub/GdbStub.inf