]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
ArmPlatformPkg: move to ArmPkg version of PeiServicesTablePointerLib
[mirror_edk2.git] / ArmPlatformPkg / ArmVExpressPkg / ArmVExpress.dsc.inc
CommitLineData
4103bc94 1#\r
fa14cfc9 2# Copyright (c) 2011-2015, ARM Limited. All rights reserved.\r
e860f74e 3# Copyright (c) 2015, Intel Corporation. All rights reserved.\r
4103bc94 4#\r
3402aac7
RC
5# This program and the accompanying materials\r
6# are licensed and made available under the terms and conditions of the BSD License\r
7# which accompanies this distribution. The full text of the license may be found at\r
8# http://opensource.org/licenses/bsd-license.php\r
9#\r
10# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
4103bc94 12#\r
13#\r
14\r
f46ac5fb
AB
15[Defines]\r
16 USE_ARM_BDS = FALSE\r
465be78e 17 SECURE_BOOT_ENABLE = FALSE\r
f46ac5fb 18\r
3b03da40
AB
19[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r
20 GCC:*_*_ARM_DLINK_FLAGS = -z common-page-size=0x1000\r
b0fd0556 21 GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000\r
13a68bba 22\r
4103bc94 23[LibraryClasses.common]\r
24!if $(TARGET) == RELEASE\r
25 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
26 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r
27!else\r
28 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
29 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r
30# UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf\r
31!endif\r
32 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
3402aac7 33\r
4103bc94 34 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
35 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
36 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
37 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
38 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
39 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
40 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
41 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
42 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
43\r
44 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
45 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
46 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
47 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
48 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
49 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
50 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
51 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
52 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
3402aac7 53 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
4103bc94 54\r
55 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
56\r
57 #\r
58 # Assume everything is fixed at build\r
59 #\r
60 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
3402aac7 61\r
4103bc94 62 # 1/123 faster than Stm or Vstm version\r
63 #BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
64 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf\r
65\r
1eee8f37
RH
66 # Networking Requirements\r
67 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
68 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
69 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
70 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
71\r
4103bc94 72 # ARM Architectural Libraries\r
73 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r
74 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r
793ae6ee 75 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf\r
4103bc94 76 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r
77 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf\r
017baa1c 78 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r
8d13298b 79 ArmGicArchLib|ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf\r
17839a45 80 ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf\r
166c01fb 81 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r
4f6d34b4 82 ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf\r
4103bc94 83\r
84 # Versatile Express Specific Libraries\r
e0a1413d 85 PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf\r
4103bc94 86 ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf\r
87 NorFlashPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf\r
88 EfiResetSystemLib|ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.inf\r
89 # ARM PL111 Lcd Driver\r
90 LcdPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpressLib.inf\r
91 # ARM PL031 RTC Driver\r
92 RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf\r
93 # ARM PL354 SMC Driver\r
94 PL35xSmcLib|ArmPlatformPkg/Drivers/PL35xSmc/PL35xSmc.inf\r
95 # ARM PL011 UART Driver\r
96 PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf\r
97 SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf\r
98 # ARM SP804 Dual Timer Driver\r
99 TimerLib|ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf\r
100\r
3402aac7 101 # EBL Related Libraries\r
4103bc94 102 EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf\r
103 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf\r
104 EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf\r
105 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf\r
3402aac7 106\r
4103bc94 107 #\r
3402aac7 108 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window\r
4103bc94 109 # in the debugger will show load and unload commands for symbols. You can cut and paste this\r
110 # into the command window to load symbols. We should be able to use a script to do this, but\r
111 # the version of RVD I have does not support scripts accessing system memory.\r
112 #\r
113 #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r
114 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r
115 #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
3402aac7 116\r
4103bc94 117 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
118 DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf\r
119\r
3402aac7 120 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf\r
4103bc94 121\r
122 # BDS Libraries\r
123 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf\r
05e56470
OM
124\r
125 AcpiLib|EmbeddedPkg/Library/AcpiLib/AcpiLib.inf\r
0a6653bc 126 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r
4103bc94 127\r
ced216f8
HL
128 # RunAxf support via Dynamic Shell Command protocol\r
129 # It uses the Shell libraries.\r
130 ArmShellCmdRunAxfLib|ArmPlatformPkg/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.inf\r
131 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
fa14cfc9
OM
132 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
133 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
ced216f8 134\r
465be78e
AB
135 #\r
136 # Secure Boot dependencies\r
137 #\r
138!if $(SECURE_BOOT_ENABLE) == TRUE\r
139 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
140 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
141 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
142 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
143 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
144\r
145 # re-use the UserPhysicalPresent() dummy implementation from the ovmf tree\r
146 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf\r
147!else\r
e860f74e
SZ
148 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
149 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
465be78e 150!endif\r
62ca7077 151 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
e860f74e 152\r
f46ac5fb
AB
153!if $(USE_ARM_BDS) == FALSE\r
154 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
155 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
156 PlatformBdsLib|ArmPlatformPkg/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf\r
157 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
158!endif\r
159\r
4103bc94 160[LibraryClasses.common.SEC]\r
c7b7c445 161 ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf\r
4103bc94 162 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf\r
3402aac7 163\r
9d6b024d 164 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf\r
619b3998 165 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf\r
3402aac7 166\r
4103bc94 167!ifdef $(EDK2_SKIP_PEICORE)\r
168 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r
169 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r
9435a57e 170 LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
4103bc94 171 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf\r
172 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf\r
173 PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf\r
174 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
4103bc94 175!endif\r
176\r
8cc852f7 177 # Trustzone Support\r
178 ArmTrustedMonitorLib|ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/ArmTrustedMonitorLibNull.inf\r
179\r
e9e9c7e8
AB
180 ArmGicArchLib|ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf\r
181\r
4103bc94 182[LibraryClasses.common.PEI_CORE]\r
183 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
184 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
185 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
186 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
187 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
188 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
189 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
190 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
191 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
192 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
3402aac7 193\r
4103bc94 194 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf\r
4dc6f327 195 PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
3402aac7 196\r
4103bc94 197[LibraryClasses.common.PEIM]\r
198 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
199 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
200 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
201 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
202 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
203 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
204 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
205 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
206 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
207 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
208 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
209\r
210 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf\r
4dc6f327 211 PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
4103bc94 212\r
d94a48c7
AB
213[LibraryClasses.common.SEC, LibraryClasses.common.PEIM]\r
214 MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf\r
215\r
4103bc94 216[LibraryClasses.common.DXE_CORE]\r
217 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
218 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
219 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
220 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
221 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
222 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
223 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
224 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r
225\r
226[LibraryClasses.common.DXE_DRIVER]\r
227 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
228 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
229 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
230 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
231 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
232 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf\r
233\r
234[LibraryClasses.common.UEFI_APPLICATION]\r
235 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
236 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
237 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
238 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
239\r
240[LibraryClasses.common.UEFI_DRIVER]\r
241 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
242 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
243 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
244 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
a08dcb2a 245 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
4103bc94 246 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
247\r
248[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
249 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
250 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
251 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
252 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
c9b378b6 253 ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigRuntimeLib/ArmVExpressSysConfigRuntimeLib.inf\r
465be78e
AB
254!if $(SECURE_BOOT_ENABLE) == TRUE\r
255 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
256!endif\r
4103bc94 257\r
8134dc18 258[LibraryClasses.AARCH64.DXE_RUNTIME_DRIVER]\r
7b99da9b
AB
259 #\r
260 # PSCI support in EL3 may not be available if we are not running under a PSCI\r
261 # compliant secure firmware, but since the default VExpress EfiResetSystemLib\r
262 # cannot be supported at runtime (due to the fact that the syscfg MMIO registers\r
263 # cannot be runtime remapped), it is our best bet to get ResetSystem functionality\r
264 # on these platforms.\r
265 #\r
266 EfiResetSystemLib|ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf\r
267\r
bd1d0628 268[LibraryClasses.ARM, LibraryClasses.AARCH64]\r
4103bc94 269 #\r
270 # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r
271 # This library provides the instrinsic functions generate by a given compiler.\r
272 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.\r
273 #\r
274 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
275\r
bd1d0628
OM
276 # Add support for GCC stack protector\r
277 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
27be3601
HL
278\r
279\r
4103bc94 280[BuildOptions]\r
281 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
282\r
283 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
284\r
285################################################################################\r
286#\r
287# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
288#\r
289################################################################################\r
290\r
291[PcdsFeatureFlag.common]\r
292 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE\r
293 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE\r
294 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE\r
295 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE\r
3402aac7 296\r
4103bc94 297 #\r
298 # Control what commands are supported from the UI\r
299 # Turn these on and off to add features or save size\r
3402aac7 300 #\r
4103bc94 301 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE\r
302 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE\r
303 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE\r
304 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE\r
305 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE\r
306 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE\r
307 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE\r
308\r
309 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE\r
3402aac7 310\r
4103bc94 311 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress\r
312 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE\r
3402aac7 313\r
4103bc94 314 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE\r
3402aac7 315\r
4103bc94 316 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE\r
317\r
318[PcdsFixedAtBuild.common]\r
319 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Versatile Express"\r
0b7c0607
LL
320!ifdef $(FIRMWARE_VER)\r
321 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(FIRMWARE_VER)"\r
322!endif\r
3402aac7 323\r
4103bc94 324 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"VExpress"\r
4103bc94 325 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r
326 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r
327 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r
328 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r
329 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF\r
330 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1\r
331 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0\r
332 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r
333\r
334 # DEBUG_ASSERT_ENABLED 0x01\r
335 # DEBUG_PRINT_ENABLED 0x02\r
336 # DEBUG_CODE_ENABLED 0x04\r
337 # CLEAR_MEMORY_ENABLED 0x08\r
338 # ASSERT_BREAKPOINT_ENABLED 0x10\r
339 # ASSERT_DEADLOOP_ENABLED 0x20\r
340!if $(TARGET) == RELEASE\r
341 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21\r
342!else\r
343 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f\r
344!endif\r
345\r
346 # DEBUG_INIT 0x00000001 // Initialization\r
347 # DEBUG_WARN 0x00000002 // Warnings\r
348 # DEBUG_LOAD 0x00000004 // Load events\r
349 # DEBUG_FS 0x00000008 // EFI File system\r
350 # DEBUG_POOL 0x00000010 // Alloc & Free's\r
351 # DEBUG_PAGE 0x00000020 // Alloc & Free's\r
352 # DEBUG_INFO 0x00000040 // Verbose\r
353 # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers\r
354 # DEBUG_VARIABLE 0x00000100 // Variable\r
355 # DEBUG_BM 0x00000400 // Boot Manager\r
356 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
357 # DEBUG_NET 0x00004000 // SNI Driver\r
358 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
359 # DEBUG_LOADFILE 0x00020000 // UNDI Driver\r
360 # DEBUG_EVENT 0x00080000 // Event messages\r
4ca88ec7
OM
361 # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r
362 # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r
4103bc94 363 # DEBUG_ERROR 0x80000000 // Error\r
364 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F\r
365\r
366 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
367\r
368 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""\r
369 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07\r
370 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000\r
3402aac7 371\r
4103bc94 372 #\r
373 # Optional feature to help prevent EFI memory map fragments\r
374 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r
3402aac7
RC
375 # Values are in EFI Pages (4K). DXE Core will make sure that\r
376 # at least this much of each type of memory can be allocated\r
4103bc94 377 # from a single memory range. This way you only end up with\r
378 # maximum of two fragements for each type in the memory map\r
379 # (the memory used, and the free memory that was prereserved\r
380 # but not used).\r
381 #\r
382 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0\r
383 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0\r
384 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0\r
a78167a6
OM
385 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|80\r
386 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|65\r
4103bc94 387 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400\r
388 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000\r
389 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20\r
390 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0\r
81f29156
OM
391\r
392 # Device path of block device on which Android Fastboot should flash\r
393 # partitions. We just use the SD card on VExpress.\r
394 gArmVExpressTokenSpaceGuid.PcdAndroidFastbootNvmDevicePath|L"VenHw(09831032-6FA3-4484-AF4F-0A000A8D3A82)"\r
395\r
4103bc94 396 #\r
397 # ARM Pcds\r
398 #\r
399 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000\r
81f29156 400\r
4103bc94 401 #\r
402 # ARM PrimeCell\r
403 #\r
404\r
94e0955d
OM
405 #\r
406 # FileSystem\r
407 #\r
408\r
409 # List of Device Paths that support BootMonFs\r
80ae6291 410 gArmPlatformTokenSpaceGuid.PcdBootMonFsSupportedDevicePaths|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59);VenHw(1F15DA3C-37FF-4070-B471-BB4AF12A724A)"\r
94e0955d 411\r
4103bc94 412 #\r
413 # ARM OS Loader\r
414 #\r
4103bc94 415 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from NorFlash"\r
0ead5ec4 416 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)/Image"\r
3402aac7 417\r
4103bc94 418 # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut)\r
419 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi();VenHw(CE660500-824D-11E0-AC72-0002A5D5C51B)"\r
420 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi()"\r
db1b9ea0 421 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|10\r
4103bc94 422\r
ced216f8
HL
423 # RunAxf support via Dynamic Shell Command protocol\r
424 # We want to use the Shell Libraries but don't want it to initialise\r
425 # automatically. We initialise the libraries when the command is called by the\r
426 # Shell.\r
427 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
428\r
f46ac5fb
AB
429!if $(USE_ARM_BDS) == FALSE\r
430 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
431 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r
432!endif\r
433\r
465be78e
AB
434!if $(SECURE_BOOT_ENABLE) == TRUE\r
435 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot\r
436 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04\r
437 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04\r
438 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04\r
439!endif\r
440\r
94e0955d 441[Components.common]\r
04f1a709
RC
442 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf\r
443\r
94e0955d
OM
444 # Versatile Express FileSystem\r
445 ArmPlatformPkg/FileSystem/BootMonFs/BootMonFs.inf\r
1eee8f37
RH
446\r
447 #\r
448 # Networking stack\r
449 #\r
450 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
451 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
452 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
1eee8f37
RH
453 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
454 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
455 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
456 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
457 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r
458 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
459 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
460 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
461\r
4257aa4d
OM
462 # ISP1761 USB OTG Controller\r
463 EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.inf\r
81f29156
OM
464\r
465 #\r
466 # Android Fastboot\r
467 #\r
468 EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.inf\r
469 EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsbDxe.inf\r
470 ArmPlatformPkg/ArmVExpressPkg/ArmVExpressFastBootDxe/ArmVExpressFastBootDxe.inf\r
901b4516
OM
471\r
472 # FV Filesystem\r
473 MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf\r
cae7af27
RC
474\r
475 #\r
476 # FDT installation\r
477 #\r
478 EmbeddedPkg/Drivers/FdtPlatformDxe/FdtPlatformDxe.inf\r
0ead5ec4
RC
479\r
480 # Legacy Linux Loader\r
481 ArmPkg/Application/LinuxLoader/LinuxLoader.inf\r