]> git.proxmox.com Git - mirror_edk2.git/blame - EmbeddedPkg/EmbeddedPkg.dsc
EmbeddedPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / EmbeddedPkg / EmbeddedPkg.dsc
CommitLineData
1e57a462 1#/** @file\r
2# Embedded Package\r
3#\r
4#\r
cb9ee5a1 5# Copyright (c) 2007 - 2018, 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
878b807a 9# SPDX-License-Identifier: BSD-2-Clause-Patent\r
1e57a462 10#\r
11#**/\r
12\r
13################################################################################\r
14#\r
15# Defines Section - statements that will be processed to create a Makefile.\r
16#\r
17################################################################################\r
18[Defines]\r
19 PLATFORM_NAME = Embedded\r
20 PLATFORM_GUID = 8DBB580B-CF89-4D57-95C6-DFE96C44686E\r
21 PLATFORM_VERSION = 0.1\r
22 DSC_SPECIFICATION = 0x00010005\r
23 OUTPUT_DIRECTORY = Build/Embedded\r
cb9ee5a1 24 SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64\r
a50aa9dd 25 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
1e57a462 26 SKUID_IDENTIFIER = DEFAULT\r
1e57a462 27\r
28\r
29################################################################################\r
30#\r
31# SKU Identification section - list of all SKU IDs supported by this\r
32# Platform.\r
33#\r
34################################################################################\r
35[SkuIds]\r
36 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.\r
37\r
38################################################################################\r
39#\r
40# Library Class section - list of all Library Classes needed by this Platform.\r
41#\r
42################################################################################\r
43[LibraryClasses.common]\r
44# DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
45 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
46\r
3402aac7 47\r
fa74dd22 48 AndroidBootImgLib|EmbeddedPkg/Library/AndroidBootImgLib/AndroidBootImgLib.inf\r
1e57a462 49 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
50 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
51 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
52 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
53 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
54 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
3402aac7 55\r
2c1cc129 56 ReportStatusCodeLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
3402aac7 57\r
1e57a462 58 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
59 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
60 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
61 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
62 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r
3402aac7 63\r
9db0a779 64 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
1e57a462 65 RealTimeClockLib|EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf\r
66 EfiResetSystemLib|EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf\r
67 GdbSerialLib|EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.inf\r
68\r
69\r
70 #\r
71 # Need to change this for IPF\r
72 #\r
73 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
3402aac7 74\r
1e57a462 75 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
76 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
77 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
1abf9f05 78 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
1e57a462 79 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
80 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
81 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
82 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
83\r
84 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
85 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
86 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
87\r
1e57a462 88 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
f6755908 89\r
3356211b 90 AcpiLib|EmbeddedPkg/Library/AcpiLib/AcpiLib.inf\r
f6755908 91 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r
1e57a462 92\r
3c1e53ce
RC
93 # Shell libraries\r
94 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
95 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
96 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
97\r
46f2c53b
OM
98 # Networking Requirements\r
99 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
100 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
3402aac7 101 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
46f2c53b 102\r
4c725c89
AB
103 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
104 DtPlatformDtbLoaderLib|EmbeddedPkg/Library/DxeDtPlatformDtbLoaderLibDefault/DxeDtPlatformDtbLoaderLibDefault.inf\r
105\r
1e57a462 106[LibraryClasses.common.DXE_DRIVER]\r
107 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
108 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
109\r
110\r
111[LibraryClasses.common.UEFI_APPLICATION]\r
112 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
113 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
114\r
115[LibraryClasses.common.UEFI_DRIVER]\r
116 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
117 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
3402aac7 118\r
1e57a462 119[LibraryClasses.common.SEC]\r
120 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r
121\r
35a3e762 122[LibraryClasses.ARM, LibraryClasses.AARCH64]\r
f6755908
OM
123 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r
124 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r
1e57a462 125 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf\r
1e57a462 126 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
127\r
bd1d0628
OM
128 # Add support for GCC stack protector\r
129 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
130\r
4af5227c 131 ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf\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
3402aac7 144\r
1e57a462 145 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|FALSE\r
146\r
147\r
148[PcdsFixedAtBuild.common]\r
149 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r
150 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r
151 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r
152 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r
153 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f\r
154 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r
155 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06\r
156 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF\r
157 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0\r
158 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0\r
159 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r
160 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000\r
161 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r
162 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r
163 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r
164 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000\r
3402aac7 165\r
1e57a462 166 gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0\r
167 gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0\r
168\r
169#\r
170# Optinal feature to help prevent EFI memory map fragments\r
171# Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r
3402aac7
RC
172# Values are in EFI Pages (4K). DXE Core will make sure that\r
173# at least this much of each type of memory can be allocated\r
1e57a462 174# from a single memory range. This way you only end up with\r
175# maximum of two fragements for each type in the memory map\r
176# (the memory used, and the free memory that was prereserved\r
177# but not used).\r
178#\r
179 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0\r
180 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0\r
181 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0\r
182 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0\r
183 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0\r
184 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|0\r
185 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|0\r
186 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|0\r
187 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0\r
188\r
189#\r
190# Timer config for this platform\r
191#\r
192 gEmbeddedTokenSpaceGuid.PcdTimerBaseAddress|0x3c700000\r
193 gEmbeddedTokenSpaceGuid.PcdTimerVector|7\r
194 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000\r
195\r
f6755908
OM
196[BuildOptions]\r
197 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu=7-A.security\r
2b18c281 198 *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES\r
1e57a462 199\r
200################################################################################\r
201#\r
202# Components Section - list of all Modules needed by this Platform\r
203#\r
204################################################################################\r
205[Components.common]\r
3402aac7
RC
206 EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.inf\r
207 EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.inf\r
1e57a462 208 EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r
209 EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r
1e57a462 210 EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf\r
211 EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf\r
7385d254 212 EmbeddedPkg/Library/CoherentDmaLib/CoherentDmaLib.inf\r
723102c7 213 EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.inf\r
4c725c89 214 EmbeddedPkg/Library/DxeDtPlatformDtbLoaderLibDefault/DxeDtPlatformDtbLoaderLibDefault.inf\r
64a17fad 215 EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.inf\r
1e57a462 216\r
1e57a462 217 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf\r
1e57a462 218 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r
219 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r
1e57a462 220 EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf\r
eff98cf9
OM
221 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf {\r
222 <LibraryClasses>\r
223 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
224 }\r
1e57a462 225\r
226 EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf\r
1e57a462 227\r
785e3cf6 228 # Drivers\r
46f2c53b 229 EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.inf\r
f6342447 230 EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132Dxe.inf\r
785e3cf6 231\r
ff862823
AB
232 EmbeddedPkg/Library/AcpiLib/AcpiLib.inf\r
233 EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf\r
ff862823 234 EmbeddedPkg/Library/FdtLib/FdtLib.inf\r
ff862823
AB
235 EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf\r
236 EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf\r
237\r
a7912d4a 238 EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.inf\r
f07cc458
AB
239 EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.inf\r
240\r
5202e6c9
LL
241[Components.ARM]\r
242 EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.inf\r
243\r
244[Components.ARM, Components.AARCH64]\r
245 EmbeddedPkg/Application/AndroidBoot/AndroidBootApp.inf\r
a64d5872 246 EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.inf\r
5202e6c9
LL
247 EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsbDxe.inf\r
248 EmbeddedPkg/Drivers/AndroidFastbootTransportTcpDxe/FastbootTransportTcpDxe.inf\r
249\r
cb9ee5a1 250[Components.IA32, Components.X64, Components.ARM]\r
35a3e762 251 EmbeddedPkg/GdbStub/GdbStub.inf\r