blob: ddc796dc0410e9d95ba589c300502f4f340a8004 [file] [log] [blame]
Vishal Bhoj82c80712015-12-15 21:13:33 +05301#
2# Copyright (c) 2011-2015, 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
116 AcpiLib|EmbeddedPkg/Library/AcpiLib/AcpiLib.inf
117 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
118
119 # RunAxf support via Dynamic Shell Command protocol
120 # It uses the Shell libraries.
121 ArmShellCmdRunAxfLib|ArmPlatformPkg/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.inf
122 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
123 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
124 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
125
126[LibraryClasses.common.SEC]
127 ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf
128 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf
129
130 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
131 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf
132
133!ifdef $(EDK2_SKIP_PEICORE)
134 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
135 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
136 LzmaDecompressLib|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
137 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
138 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
139 PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
140 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
141 MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
142!endif
143
144 # Trustzone Support
145 ArmTrustedMonitorLib|ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/ArmTrustedMonitorLibNull.inf
146
147[LibraryClasses.common.PEI_CORE]
148 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
149 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
150 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
151 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
152 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
153 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
154 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
155 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
156 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
157 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
158
159 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
160 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
161
162[LibraryClasses.common.PEIM]
163 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
164 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
165 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
166 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
167 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
168 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
169 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
170 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
171 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
172 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
173 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
174
175 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
176 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
177
178[LibraryClasses.common.DXE_CORE]
179 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
180 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
181 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
182 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
183 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
184 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
185 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
186 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
187
188[LibraryClasses.common.DXE_DRIVER]
189 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
190 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
191 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
192 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
193 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
194 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf
195
196[LibraryClasses.common.UEFI_APPLICATION]
197 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
198 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
199 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
200 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
201
202[LibraryClasses.common.UEFI_DRIVER]
203 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
204 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
205 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
206 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
207 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
208 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
209
210[LibraryClasses.common.DXE_RUNTIME_DRIVER]
211 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
212 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
213 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
214 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
215
216[LibraryClasses.ARM, LibraryClasses.AARCH64]
217 #
218 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
219 # This library provides the instrinsic functions generate by a given compiler.
220 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
221 #
222 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
223
224 # Add support for GCC stack protector
225 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
226
227
228[BuildOptions]
229 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
230
231 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
232
233################################################################################
234#
235# Pcd Section - list of all EDK II PCD Entries defined by this Platform
236#
237################################################################################
238
239[PcdsFeatureFlag.common]
240 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
241 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
242 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
243 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
244
245 #
246 # Control what commands are supported from the UI
247 # Turn these on and off to add features or save size
248 #
249 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
250 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
251 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
252 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
253 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
254 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
255 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
256
257 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
258
259 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
260 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
261
262 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
263
264 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
265
266[PcdsFixedAtBuild.common]
267 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Versatile Express"
268!ifdef $(FIRMWARE_VER)
269 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(FIRMWARE_VER)"
270!endif
271
272 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"VExpress"
273 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
274 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
275 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
276 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
277 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
278 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
279 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
280 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
281
282 # DEBUG_ASSERT_ENABLED 0x01
283 # DEBUG_PRINT_ENABLED 0x02
284 # DEBUG_CODE_ENABLED 0x04
285 # CLEAR_MEMORY_ENABLED 0x08
286 # ASSERT_BREAKPOINT_ENABLED 0x10
287 # ASSERT_DEADLOOP_ENABLED 0x20
288!if $(TARGET) == RELEASE
289 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
290!else
291 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
292!endif
293
294 # DEBUG_INIT 0x00000001 // Initialization
295 # DEBUG_WARN 0x00000002 // Warnings
296 # DEBUG_LOAD 0x00000004 // Load events
297 # DEBUG_FS 0x00000008 // EFI File system
298 # DEBUG_POOL 0x00000010 // Alloc & Free's
299 # DEBUG_PAGE 0x00000020 // Alloc & Free's
300 # DEBUG_INFO 0x00000040 // Verbose
301 # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
302 # DEBUG_VARIABLE 0x00000100 // Variable
303 # DEBUG_BM 0x00000400 // Boot Manager
304 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
305 # DEBUG_NET 0x00004000 // SNI Driver
306 # DEBUG_UNDI 0x00010000 // UNDI Driver
307 # DEBUG_LOADFILE 0x00020000 // UNDI Driver
308 # DEBUG_EVENT 0x00080000 // Event messages
309 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
310 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
311 # DEBUG_ERROR 0x80000000 // Error
312 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
313
314 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
315
316 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
317 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
318 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
319
320 #
321 # Optional feature to help prevent EFI memory map fragments
322 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
323 # Values are in EFI Pages (4K). DXE Core will make sure that
324 # at least this much of each type of memory can be allocated
325 # from a single memory range. This way you only end up with
326 # maximum of two fragements for each type in the memory map
327 # (the memory used, and the free memory that was prereserved
328 # but not used).
329 #
330 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
331 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
332 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
333 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|80
334 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|65
335 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400
336 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000
337 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
338 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
339
340 # Device path of block device on which Android Fastboot should flash
341 # partitions. We just use the SD card on VExpress.
342 gArmVExpressTokenSpaceGuid.PcdAndroidFastbootNvmDevicePath|L"VenHw(09831032-6FA3-4484-AF4F-0A000A8D3A82)"
343
344 #
345 # ARM Pcds
346 #
347 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000
348
349 #
350 # ARM PrimeCell
351 #
352
353 #
354 # FileSystem
355 #
356
357 # List of Device Paths that support BootMonFs
358 gArmPlatformTokenSpaceGuid.PcdBootMonFsSupportedDevicePaths|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59);VenHw(1F15DA3C-37FF-4070-B471-BB4AF12A724A)"
359
360 #
361 # ARM OS Loader
362 #
363 # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux:
364 gArmTokenSpaceGuid.PcdArmMachineType|2272
365 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from NorFlash"
366 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)/MemoryMapped(0x0,0xED000000,0xED400000)"
367 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1
368
369 # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut)
370 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi();VenHw(CE660500-824D-11E0-AC72-0002A5D5C51B)"
371 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi()"
372 gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut|10
373
374 # RunAxf support via Dynamic Shell Command protocol
375 # We want to use the Shell Libraries but don't want it to initialise
376 # automatically. We initialise the libraries when the command is called by the
377 # Shell.
378 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
379
380[Components.common]
381 # Versatile Express FileSystem
382 ArmPlatformPkg/FileSystem/BootMonFs/BootMonFs.inf
383
384 #
385 # Networking stack
386 #
387 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
388 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
389 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
390 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
391 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
392 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
393 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
394 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
395 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
396 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
397 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
398 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
399
400 # ISP1761 USB OTG Controller
401 EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.inf
402
403 #
404 # Android Fastboot
405 #
406 EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.inf
407 EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsbDxe.inf
408 ArmPlatformPkg/ArmVExpressPkg/ArmVExpressFastBootDxe/ArmVExpressFastBootDxe.inf
409
410 # FV Filesystem
411 MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf