]> git.proxmox.com Git - mirror_edk2.git/blame - EmbeddedPkg/EmbeddedPkg.dsc
EmbeddedPkg/AndroidFastboot: Introduce Android FastBoot Application
[mirror_edk2.git] / EmbeddedPkg / EmbeddedPkg.dsc
CommitLineData
1e57a462 1#/** @file\r
2# Embedded Package\r
3#\r
4#\r
5# Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r
35a3e762 6# Copyright (c) 2012-2014, 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
53 \r
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
61 \r
62 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
63 \r
64 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
65 \r
66 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
67 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
68 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
69 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
70 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r
71 \r
72 SerialPortLib|EmbeddedPkg/Library/TemplateSerialPortLib/TemplateSerialPortLib.inf\r
d38c35f9 73 SerialPortExtLib|EmbeddedPkg/Library/TemplateSerialPortExtLib/TemplateSerialPortExtLib.inf\r
1e57a462 74 RealTimeClockLib|EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf\r
75 EfiResetSystemLib|EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf\r
76 GdbSerialLib|EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.inf\r
77\r
78\r
79 #\r
80 # Need to change this for IPF\r
81 #\r
82 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
83 \r
84 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
85 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
86 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
87 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
88 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
89 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
90 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
91\r
92 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
93 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
94 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
95\r
1e57a462 96 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
97 EblCmdLib|EmbeddedPkg/Library/EblCmdLibNull/EblCmdLibNull.inf\r
98 \r
99 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf\r
f6755908
OM
100\r
101 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r
1e57a462 102\r
103[LibraryClasses.common.DXE_DRIVER]\r
104 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
105 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
106\r
107\r
108[LibraryClasses.common.UEFI_APPLICATION]\r
109 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
110 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
111\r
112[LibraryClasses.common.UEFI_DRIVER]\r
113 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
114 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
115 \r
116[LibraryClasses.common.SEC]\r
117 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r
118\r
35a3e762 119[LibraryClasses.ARM, LibraryClasses.AARCH64]\r
f6755908
OM
120 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r
121 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r
122 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf\r
1e57a462 123 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf\r
1e57a462 124 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
125\r
f6755908
OM
126[LibraryClasses.ARM]\r
127 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf\r
128\r
129[LibraryClasses.AARCH64]\r
130 ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64Lib.inf\r
131\r
1e57a462 132\r
133################################################################################\r
134#\r
135# Pcd Section - list of all PCD Entries defined by this Platform\r
136#\r
137################################################################################\r
138\r
139[PcdsFeatureFlag.common]\r
140 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|FALSE\r
141 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|FALSE\r
142 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|FALSE\r
143 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|FALSE\r
144 \r
145 #\r
146 # Control what commands are supported from the UI\r
147 # Turn these on and off to add features or save size\r
148 # \r
149 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE\r
150 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE\r
151 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE\r
152 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE\r
153 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE\r
154 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE\r
155 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE\r
156 \r
157 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|FALSE\r
158\r
159\r
160[PcdsFixedAtBuild.common]\r
161 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r
162 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r
163 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r
164 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r
165 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f\r
166 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r
167 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06\r
168 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF\r
169 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0\r
170 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0\r
171 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r
172 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000\r
173 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r
174 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r
175 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r
176 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000\r
8f12aa7e 177 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|L""\r
1e57a462 178 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07\r
179 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000\r
180 \r
181 gEmbeddedTokenSpaceGuid.PcdPrePiHobBase|0\r
182 gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0\r
183 gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0\r
184\r
185#\r
186# Optinal feature to help prevent EFI memory map fragments\r
187# Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r
188# Values are in EFI Pages (4K). DXE Core will make sure that \r
189# at least this much of each type of memory can be allocated \r
190# from a single memory range. This way you only end up with\r
191# maximum of two fragements for each type in the memory map\r
192# (the memory used, and the free memory that was prereserved\r
193# but not used).\r
194#\r
195 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0\r
196 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0\r
197 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0\r
198 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0\r
199 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0\r
200 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|0\r
201 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|0\r
202 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|0\r
203 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0\r
204\r
205#\r
206# Timer config for this platform\r
207#\r
208 gEmbeddedTokenSpaceGuid.PcdTimerBaseAddress|0x3c700000\r
209 gEmbeddedTokenSpaceGuid.PcdTimerVector|7\r
210 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000\r
211\r
1e57a462 212[PcdsFixedAtBuild.IPF]\r
213 gEfiMdePkgTokenSpaceGuid.PcdIoBlockBaseAddressForIpf|0x0ffffc000000\r
214\r
215#\r
216# This makes it so you can source level debug with NT32. VC++ debugger limitiation!\r
217#\r
218#[BuildOptions]\r
219# DEBUG_*_IA32_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /ALIGN:4096 /SUBSYSTEM:CONSOLE\r
220# RELEASE_*_IA32_DLINK_FLAGS = /ALIGN:4096\r
221# *_*_IA32_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D TIANO_RELEASE_VERSION=0x00080006\r
222\r
f6755908
OM
223[BuildOptions]\r
224 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu=7-A.security\r
225\r
1e57a462 226\r
227################################################################################\r
228#\r
229# Components Section - list of all Modules needed by this Platform\r
230#\r
231################################################################################\r
232[Components.common]\r
233 EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf \r
234 EmbeddedPkg/Library/EblCmdLibNull/EblCmdLibNull.inf\r
235 EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf\r
236 EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.inf \r
237 EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.inf \r
238 EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r
239 EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r
240 EmbeddedPkg/Library/TemplateSerialPortLib/TemplateSerialPortLib.inf\r
241 EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf\r
242 EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf\r
243 EmbeddedPkg/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.inf\r
244 EmbeddedPkg/Library/NullDmaLib/NullDmaLib.inf\r
245\r
246 EmbeddedPkg/Ebl/Ebl.inf\r
247#### EmbeddedPkg/EblExternCmd/EblExternCmd.inf\r
248 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf\r
1e57a462 249 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r
250 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r
251 EmbeddedPkg/SerialDxe/SerialDxe.inf\r
252 EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf\r
253 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf\r
254\r
255 EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf\r
1e57a462 256\r
f6755908
OM
257 EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.inf\r
258\r
35a3e762
OM
259[Components.IA32, Components.X64, Components.IPF, Components.ARM]\r
260 EmbeddedPkg/GdbStub/GdbStub.inf\r