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