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