]>
Commit | Line | Data |
---|---|---|
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 |
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 | |
cb9ee5a1 | 30 | SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64\r |
a50aa9dd | 31 | BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r |
1e57a462 | 32 | SKUID_IDENTIFIER = DEFAULT\r |
1e57a462 | 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 |
fa74dd22 | 54 | AndroidBootImgLib|EmbeddedPkg/Library/AndroidBootImgLib/AndroidBootImgLib.inf\r |
1e57a462 | 55 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r |
56 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
57 | PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r | |
58 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r | |
59 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
60 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
3402aac7 | 61 | \r |
2c1cc129 | 62 | ReportStatusCodeLib|MdeModulePkg/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 | |
1abf9f05 | 84 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r |
1e57a462 | 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 |
f6755908 | 95 | \r |
3356211b | 96 | AcpiLib|EmbeddedPkg/Library/AcpiLib/AcpiLib.inf\r |
f6755908 | 97 | FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r |
1e57a462 | 98 | \r |
3c1e53ce RC |
99 | # Shell libraries\r |
100 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r | |
101 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r | |
102 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r | |
103 | \r | |
46f2c53b OM |
104 | # Networking Requirements\r |
105 | NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r | |
106 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
3402aac7 | 107 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r |
46f2c53b | 108 | \r |
4c725c89 AB |
109 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r |
110 | DtPlatformDtbLoaderLib|EmbeddedPkg/Library/DxeDtPlatformDtbLoaderLibDefault/DxeDtPlatformDtbLoaderLibDefault.inf\r | |
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 | |
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 | gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|FALSE\r |
152 | \r | |
153 | \r | |
154 | [PcdsFixedAtBuild.common]\r | |
155 | gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r | |
156 | gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r | |
157 | gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r | |
158 | gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r | |
159 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f\r | |
160 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r | |
161 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06\r | |
162 | gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF\r | |
163 | gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0\r | |
164 | gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0\r | |
165 | gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r | |
166 | gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000\r | |
167 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r | |
168 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r | |
169 | gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r | |
170 | gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000\r | |
3402aac7 | 171 | \r |
1e57a462 | 172 | gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0\r |
173 | gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0\r | |
174 | \r | |
175 | #\r | |
176 | # Optinal feature to help prevent EFI memory map fragments\r | |
177 | # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r | |
3402aac7 RC |
178 | # Values are in EFI Pages (4K). DXE Core will make sure that\r |
179 | # at least this much of each type of memory can be allocated\r | |
1e57a462 | 180 | # from a single memory range. This way you only end up with\r |
181 | # maximum of two fragements for each type in the memory map\r | |
182 | # (the memory used, and the free memory that was prereserved\r | |
183 | # but not used).\r | |
184 | #\r | |
185 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0\r | |
186 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0\r | |
187 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0\r | |
188 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0\r | |
189 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0\r | |
190 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|0\r | |
191 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|0\r | |
192 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|0\r | |
193 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0\r | |
194 | \r | |
195 | #\r | |
196 | # Timer config for this platform\r | |
197 | #\r | |
198 | gEmbeddedTokenSpaceGuid.PcdTimerBaseAddress|0x3c700000\r | |
199 | gEmbeddedTokenSpaceGuid.PcdTimerVector|7\r | |
200 | gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000\r | |
201 | \r | |
f6755908 OM |
202 | [BuildOptions]\r |
203 | RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu=7-A.security\r | |
2b18c281 | 204 | *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES\r |
1e57a462 | 205 | \r |
206 | ################################################################################\r | |
207 | #\r | |
208 | # Components Section - list of all Modules needed by this Platform\r | |
209 | #\r | |
210 | ################################################################################\r | |
211 | [Components.common]\r | |
3402aac7 RC |
212 | EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.inf\r |
213 | EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.inf\r | |
1e57a462 | 214 | EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r |
215 | EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r | |
1e57a462 | 216 | EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf\r |
217 | EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf\r | |
7385d254 | 218 | EmbeddedPkg/Library/CoherentDmaLib/CoherentDmaLib.inf\r |
723102c7 | 219 | EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.inf\r |
4c725c89 | 220 | EmbeddedPkg/Library/DxeDtPlatformDtbLoaderLibDefault/DxeDtPlatformDtbLoaderLibDefault.inf\r |
1e57a462 | 221 | \r |
1e57a462 | 222 | EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf\r |
1e57a462 | 223 | EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r |
224 | EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r | |
1e57a462 | 225 | EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf\r |
eff98cf9 OM |
226 | EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf {\r |
227 | <LibraryClasses>\r | |
228 | TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r | |
229 | }\r | |
1e57a462 | 230 | \r |
231 | EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf\r | |
1e57a462 | 232 | \r |
785e3cf6 | 233 | # Drivers\r |
46f2c53b | 234 | EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.inf\r |
f6342447 | 235 | EmbeddedPkg/Drivers/SataSiI3132Dxe/SataSiI3132Dxe.inf\r |
785e3cf6 | 236 | \r |
ff862823 AB |
237 | EmbeddedPkg/Library/AcpiLib/AcpiLib.inf\r |
238 | EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf\r | |
ff862823 | 239 | EmbeddedPkg/Library/FdtLib/FdtLib.inf\r |
ff862823 AB |
240 | EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf\r |
241 | EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf\r | |
242 | \r | |
a7912d4a | 243 | EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.inf\r |
f07cc458 AB |
244 | EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.inf\r |
245 | \r | |
5202e6c9 LL |
246 | [Components.ARM]\r |
247 | EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.inf\r | |
248 | \r | |
249 | [Components.ARM, Components.AARCH64]\r | |
250 | EmbeddedPkg/Application/AndroidBoot/AndroidBootApp.inf\r | |
a64d5872 | 251 | EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.inf\r |
5202e6c9 LL |
252 | EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsbDxe.inf\r |
253 | EmbeddedPkg/Drivers/AndroidFastbootTransportTcpDxe/FastbootTransportTcpDxe.inf\r | |
254 | \r | |
cb9ee5a1 | 255 | [Components.IA32, Components.X64, Components.ARM]\r |
35a3e762 | 256 | EmbeddedPkg/GdbStub/GdbStub.inf\r |