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