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