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