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