]> git.proxmox.com Git - mirror_edk2.git/blame - EmbeddedPkg/EmbeddedPkg.dsc
EmbeddedPkg: Added SATA Silicon Image driver
[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
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
d38c35f9 71 SerialPortExtLib|EmbeddedPkg/Library/TemplateSerialPortExtLib/TemplateSerialPortExtLib.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
85 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
86 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
87 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
88 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
89\r
90 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
91 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
92 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
93\r
1e57a462 94 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
95 EblCmdLib|EmbeddedPkg/Library/EblCmdLibNull/EblCmdLibNull.inf\r
febad023 96\r
1e57a462 97 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf\r
f6755908 98\r
3356211b 99 AcpiLib|EmbeddedPkg/Library/AcpiLib/AcpiLib.inf\r
f6755908 100 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r
1e57a462 101\r
3c1e53ce
RC
102 # Shell libraries\r
103 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
104 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
105 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
106\r
46f2c53b
OM
107 # Networking Requirements\r
108 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
109 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
3402aac7 110 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
46f2c53b 111\r
1e57a462 112[LibraryClasses.common.DXE_DRIVER]\r
113 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
114 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
115\r
116\r
117[LibraryClasses.common.UEFI_APPLICATION]\r
118 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
119 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
120\r
121[LibraryClasses.common.UEFI_DRIVER]\r
122 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
123 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
3402aac7 124\r
1e57a462 125[LibraryClasses.common.SEC]\r
126 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r
127\r
35a3e762 128[LibraryClasses.ARM, LibraryClasses.AARCH64]\r
f6755908
OM
129 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r
130 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r
131 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf\r
1e57a462 132 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf\r
1e57a462 133 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
134\r
bd1d0628
OM
135 # Add support for GCC stack protector\r
136 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
137\r
f6755908
OM
138[LibraryClasses.ARM]\r
139 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf\r
140\r
141[LibraryClasses.AARCH64]\r
142 ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64Lib.inf\r
143\r
1e57a462 144\r
145################################################################################\r
146#\r
147# Pcd Section - list of all PCD Entries defined by this Platform\r
148#\r
149################################################################################\r
150\r
151[PcdsFeatureFlag.common]\r
152 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|FALSE\r
153 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|FALSE\r
154 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|FALSE\r
155 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|FALSE\r
3402aac7 156\r
1e57a462 157 #\r
158 # Control what commands are supported from the UI\r
159 # Turn these on and off to add features or save size\r
3402aac7 160 #\r
1e57a462 161 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE\r
162 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE\r
163 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE\r
164 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE\r
165 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE\r
166 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE\r
167 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE\r
3402aac7 168\r
1e57a462 169 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|FALSE\r
170\r
171\r
172[PcdsFixedAtBuild.common]\r
173 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r
174 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r
175 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r
176 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r
177 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f\r
178 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r
179 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06\r
180 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF\r
181 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0\r
182 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0\r
183 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r
184 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000\r
185 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r
186 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r
187 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r
188 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000\r
8f12aa7e 189 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|L""\r
1e57a462 190 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07\r
191 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000\r
3402aac7 192\r
1e57a462 193 gEmbeddedTokenSpaceGuid.PcdPrePiHobBase|0\r
194 gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0\r
195 gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0\r
196\r
197#\r
198# Optinal feature to help prevent EFI memory map fragments\r
199# Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r
3402aac7
RC
200# Values are in EFI Pages (4K). DXE Core will make sure that\r
201# at least this much of each type of memory can be allocated\r
1e57a462 202# from a single memory range. This way you only end up with\r
203# maximum of two fragements for each type in the memory map\r
204# (the memory used, and the free memory that was prereserved\r
205# but not used).\r
206#\r
207 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0\r
208 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0\r
209 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0\r
210 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0\r
211 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0\r
212 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|0\r
213 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|0\r
214 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|0\r
215 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0\r
216\r
217#\r
218# Timer config for this platform\r
219#\r
220 gEmbeddedTokenSpaceGuid.PcdTimerBaseAddress|0x3c700000\r
221 gEmbeddedTokenSpaceGuid.PcdTimerVector|7\r
222 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000\r
223\r
1e57a462 224[PcdsFixedAtBuild.IPF]\r
225 gEfiMdePkgTokenSpaceGuid.PcdIoBlockBaseAddressForIpf|0x0ffffc000000\r
226\r
227#\r
228# This makes it so you can source level debug with NT32. VC++ debugger limitiation!\r
229#\r
230#[BuildOptions]\r
231# DEBUG_*_IA32_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /ALIGN:4096 /SUBSYSTEM:CONSOLE\r
232# RELEASE_*_IA32_DLINK_FLAGS = /ALIGN:4096\r
233# *_*_IA32_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D TIANO_RELEASE_VERSION=0x00080006\r
234\r
f6755908
OM
235[BuildOptions]\r
236 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu=7-A.security\r
237\r
1e57a462 238\r
239################################################################################\r
240#\r
241# Components Section - list of all Modules needed by this Platform\r
242#\r
243################################################################################\r
244[Components.common]\r
3402aac7 245 EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf\r
1e57a462 246 EmbeddedPkg/Library/EblCmdLibNull/EblCmdLibNull.inf\r
247 EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf\r
3402aac7
RC
248 EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.inf\r
249 EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.inf\r
1e57a462 250 EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r
251 EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r
9db0a779 252 MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
ee1c2b77 253 EmbeddedPkg/Library/SerialPortExtLibNull/SerialPortExtLibNull.inf\r
1e57a462 254 EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf\r
255 EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf\r
256 EmbeddedPkg/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.inf\r
257 EmbeddedPkg/Library/NullDmaLib/NullDmaLib.inf\r
258\r
259 EmbeddedPkg/Ebl/Ebl.inf\r
260#### EmbeddedPkg/EblExternCmd/EblExternCmd.inf\r
261 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf\r
1e57a462 262 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r
263 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r
264 EmbeddedPkg/SerialDxe/SerialDxe.inf\r
265 EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf\r
eff98cf9
OM
266 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf {\r
267 <LibraryClasses>\r
268 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
269 }\r
1e57a462 270\r
271 EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf\r
1e57a462 272\r
158497a0 273 # FDT installation\r
eff98cf9
OM
274 EmbeddedPkg/Drivers/FdtPlatformDxe/FdtPlatformDxe.inf {\r
275 <LibraryClasses>\r
276 # It depends on BdsLib that depends on TimerLib\r
277 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
278 }\r
279\r
280 EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.inf {\r
281 <LibraryClasses>\r
282 # It depends on BdsLib that depends on TimerLib\r
283 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
284 }\r
d3f99770 285 EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsbDxe.inf\r
4d6e1e5a 286 EmbeddedPkg/Drivers/AndroidFastbootTransportTcpDxe/FastbootTransportTcpDxe.inf\r
f6755908 287\r
785e3cf6
OM
288 # Drivers\r
289 EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.inf\r
46f2c53b 290 EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.inf\r
f6342447 291 EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132Dxe.inf\r
785e3cf6 292\r
35a3e762
OM
293[Components.IA32, Components.X64, Components.IPF, Components.ARM]\r
294 EmbeddedPkg/GdbStub/GdbStub.inf\r