]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
ArmVExpressPkg: use PSCI for system reset only on AARCH64 platforms
[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 ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
75 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
76 ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
77
78 # Versatile Express Specific Libraries
79 PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
80 ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf
81 NorFlashPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf
82 EfiResetSystemLib|ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.inf
83 # ARM PL111 Lcd Driver
84 LcdPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpressLib.inf
85 # ARM PL031 RTC Driver
86 RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
87 # ARM PL354 SMC Driver
88 PL35xSmcLib|ArmPlatformPkg/Drivers/PL35xSmc/PL35xSmc.inf
89 # ARM PL011 UART Driver
90 PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf
91 SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
92 SerialPortExtLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortExtLib.inf
93 # ARM SP804 Dual Timer Driver
94 TimerLib|ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf
95
96 # EBL Related Libraries
97 EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf
98 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
99 EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf
100 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf
101
102 #
103 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
104 # in the debugger will show load and unload commands for symbols. You can cut and paste this
105 # into the command window to load symbols. We should be able to use a script to do this, but
106 # the version of RVD I have does not support scripts accessing system memory.
107 #
108 #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
109 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
110 #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
111
112 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
113 DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
114
115 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
116
117 # BDS Libraries
118 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
119
120 AcpiLib|EmbeddedPkg/Library/AcpiLib/AcpiLib.inf
121 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
122
123 # RunAxf support via Dynamic Shell Command protocol
124 # It uses the Shell libraries.
125 ArmShellCmdRunAxfLib|ArmPlatformPkg/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.inf
126 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
127 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
128 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
129
130 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
131 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
132
133 [LibraryClasses.common.SEC]
134 ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf
135 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf
136
137 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
138 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf
139
140 !ifdef $(EDK2_SKIP_PEICORE)
141 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
142 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
143 LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
144 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
145 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
146 PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
147 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
148 !endif
149
150 # Trustzone Support
151 ArmTrustedMonitorLib|ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/ArmTrustedMonitorLibNull.inf
152
153 [LibraryClasses.common.PEI_CORE]
154 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
155 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
156 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
157 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
158 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
159 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
160 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
161 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
162 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
163 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
164
165 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
166 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
167
168 [LibraryClasses.common.PEIM]
169 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
170 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
171 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
172 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
173 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
174 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
175 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
176 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
177 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
178 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
179 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
180
181 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
182 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
183
184 [LibraryClasses.common.SEC, LibraryClasses.common.PEIM]
185 MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
186
187 [LibraryClasses.common.DXE_CORE]
188 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
189 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
190 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
191 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
192 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
193 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
194 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
195 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
196
197 [LibraryClasses.common.DXE_DRIVER]
198 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
199 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
200 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
201 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
202 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
203 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf
204
205 [LibraryClasses.common.UEFI_APPLICATION]
206 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
207 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
208 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
209 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
210
211 [LibraryClasses.common.UEFI_DRIVER]
212 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
213 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
214 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
215 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
216 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
217 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
218
219 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
220 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
221 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
222 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
223 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
224 ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigRuntimeLib/ArmVExpressSysConfigRuntimeLib.inf
225
226 [LibraryClasses.AARCH64.DXE_RUNTIME_DRIVER]
227 #
228 # PSCI support in EL3 may not be available if we are not running under a PSCI
229 # compliant secure firmware, but since the default VExpress EfiResetSystemLib
230 # cannot be supported at runtime (due to the fact that the syscfg MMIO registers
231 # cannot be runtime remapped), it is our best bet to get ResetSystem functionality
232 # on these platforms.
233 #
234 EfiResetSystemLib|ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf
235
236 [LibraryClasses.ARM, LibraryClasses.AARCH64]
237 #
238 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
239 # This library provides the instrinsic functions generate by a given compiler.
240 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
241 #
242 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
243
244 # Add support for GCC stack protector
245 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
246
247
248 [BuildOptions]
249 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
250
251 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
252
253 ################################################################################
254 #
255 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
256 #
257 ################################################################################
258
259 [PcdsFeatureFlag.common]
260 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
261 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
262 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
263 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
264
265 #
266 # Control what commands are supported from the UI
267 # Turn these on and off to add features or save size
268 #
269 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
270 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
271 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
272 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
273 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
274 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
275 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
276
277 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
278
279 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
280 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
281
282 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
283
284 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
285
286 [PcdsFixedAtBuild.common]
287 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Versatile Express"
288 !ifdef $(FIRMWARE_VER)
289 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(FIRMWARE_VER)"
290 !endif
291
292 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"VExpress"
293 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
294 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
295 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
296 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
297 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
298 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
299 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
300 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
301
302 # DEBUG_ASSERT_ENABLED 0x01
303 # DEBUG_PRINT_ENABLED 0x02
304 # DEBUG_CODE_ENABLED 0x04
305 # CLEAR_MEMORY_ENABLED 0x08
306 # ASSERT_BREAKPOINT_ENABLED 0x10
307 # ASSERT_DEADLOOP_ENABLED 0x20
308 !if $(TARGET) == RELEASE
309 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
310 !else
311 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
312 !endif
313
314 # DEBUG_INIT 0x00000001 // Initialization
315 # DEBUG_WARN 0x00000002 // Warnings
316 # DEBUG_LOAD 0x00000004 // Load events
317 # DEBUG_FS 0x00000008 // EFI File system
318 # DEBUG_POOL 0x00000010 // Alloc & Free's
319 # DEBUG_PAGE 0x00000020 // Alloc & Free's
320 # DEBUG_INFO 0x00000040 // Verbose
321 # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
322 # DEBUG_VARIABLE 0x00000100 // Variable
323 # DEBUG_BM 0x00000400 // Boot Manager
324 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
325 # DEBUG_NET 0x00004000 // SNI Driver
326 # DEBUG_UNDI 0x00010000 // UNDI Driver
327 # DEBUG_LOADFILE 0x00020000 // UNDI Driver
328 # DEBUG_EVENT 0x00080000 // Event messages
329 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
330 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
331 # DEBUG_ERROR 0x80000000 // Error
332 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
333
334 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
335
336 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
337 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
338 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
339
340 #
341 # Optional feature to help prevent EFI memory map fragments
342 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
343 # Values are in EFI Pages (4K). DXE Core will make sure that
344 # at least this much of each type of memory can be allocated
345 # from a single memory range. This way you only end up with
346 # maximum of two fragements for each type in the memory map
347 # (the memory used, and the free memory that was prereserved
348 # but not used).
349 #
350 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
351 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
352 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
353 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|80
354 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|65
355 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400
356 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000
357 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
358 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
359
360 # Device path of block device on which Android Fastboot should flash
361 # partitions. We just use the SD card on VExpress.
362 gArmVExpressTokenSpaceGuid.PcdAndroidFastbootNvmDevicePath|L"VenHw(09831032-6FA3-4484-AF4F-0A000A8D3A82)"
363
364 #
365 # ARM Pcds
366 #
367 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000
368
369 #
370 # ARM PrimeCell
371 #
372
373 #
374 # FileSystem
375 #
376
377 # List of Device Paths that support BootMonFs
378 gArmPlatformTokenSpaceGuid.PcdBootMonFsSupportedDevicePaths|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59);VenHw(1F15DA3C-37FF-4070-B471-BB4AF12A724A)"
379
380 #
381 # ARM OS Loader
382 #
383 # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux:
384 gArmTokenSpaceGuid.PcdArmMachineType|2272
385 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from NorFlash"
386 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)/MemoryMapped(0x0,0xED000000,0xED400000)"
387 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1
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