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