]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
ArmPlatformPkg/ArmVExpress.dsc.inc: Fixed BuildOptions
[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/Library/ArmPlatformSysConfigLibNull/ArmPlatformSysConfigLibNull.inf
225
226 #
227 # PSCI support in EL3 may not be available if we are not running under a PSCI
228 # compliant secure firmware, but since the default VExpress EfiResetSystemLib
229 # cannot be supported at runtime (due to the fact that the syscfg MMIO registers
230 # cannot be runtime remapped), it is our best bet to get ResetSystem functionality
231 # on these platforms.
232 #
233 EfiResetSystemLib|ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf
234
235 [LibraryClasses.ARM, LibraryClasses.AARCH64]
236 #
237 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
238 # This library provides the instrinsic functions generate by a given compiler.
239 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
240 #
241 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
242
243 # Add support for GCC stack protector
244 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
245
246
247 [BuildOptions]
248 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
249
250 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
251
252 ################################################################################
253 #
254 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
255 #
256 ################################################################################
257
258 [PcdsFeatureFlag.common]
259 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
260 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
261 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
262 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
263
264 #
265 # Control what commands are supported from the UI
266 # Turn these on and off to add features or save size
267 #
268 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
269 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
270 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
271 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
272 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
273 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
274 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
275
276 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
277
278 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
279 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
280
281 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
282
283 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
284
285 [PcdsFixedAtBuild.common]
286 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Versatile Express"
287 !ifdef $(FIRMWARE_VER)
288 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(FIRMWARE_VER)"
289 !endif
290
291 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"VExpress"
292 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
293 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
294 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
295 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
296 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
297 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
298 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
299 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
300
301 # DEBUG_ASSERT_ENABLED 0x01
302 # DEBUG_PRINT_ENABLED 0x02
303 # DEBUG_CODE_ENABLED 0x04
304 # CLEAR_MEMORY_ENABLED 0x08
305 # ASSERT_BREAKPOINT_ENABLED 0x10
306 # ASSERT_DEADLOOP_ENABLED 0x20
307 !if $(TARGET) == RELEASE
308 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
309 !else
310 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
311 !endif
312
313 # DEBUG_INIT 0x00000001 // Initialization
314 # DEBUG_WARN 0x00000002 // Warnings
315 # DEBUG_LOAD 0x00000004 // Load events
316 # DEBUG_FS 0x00000008 // EFI File system
317 # DEBUG_POOL 0x00000010 // Alloc & Free's
318 # DEBUG_PAGE 0x00000020 // Alloc & Free's
319 # DEBUG_INFO 0x00000040 // Verbose
320 # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
321 # DEBUG_VARIABLE 0x00000100 // Variable
322 # DEBUG_BM 0x00000400 // Boot Manager
323 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
324 # DEBUG_NET 0x00004000 // SNI Driver
325 # DEBUG_UNDI 0x00010000 // UNDI Driver
326 # DEBUG_LOADFILE 0x00020000 // UNDI Driver
327 # DEBUG_EVENT 0x00080000 // Event messages
328 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
329 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
330 # DEBUG_ERROR 0x80000000 // Error
331 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
332
333 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
334
335 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
336 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
337 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
338
339 #
340 # Optional feature to help prevent EFI memory map fragments
341 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
342 # Values are in EFI Pages (4K). DXE Core will make sure that
343 # at least this much of each type of memory can be allocated
344 # from a single memory range. This way you only end up with
345 # maximum of two fragements for each type in the memory map
346 # (the memory used, and the free memory that was prereserved
347 # but not used).
348 #
349 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
350 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
351 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
352 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|80
353 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|65
354 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400
355 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000
356 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
357 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
358
359 # Device path of block device on which Android Fastboot should flash
360 # partitions. We just use the SD card on VExpress.
361 gArmVExpressTokenSpaceGuid.PcdAndroidFastbootNvmDevicePath|L"VenHw(09831032-6FA3-4484-AF4F-0A000A8D3A82)"
362
363 #
364 # ARM Pcds
365 #
366 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000
367
368 #
369 # ARM PrimeCell
370 #
371
372 #
373 # FileSystem
374 #
375
376 # List of Device Paths that support BootMonFs
377 gArmPlatformTokenSpaceGuid.PcdBootMonFsSupportedDevicePaths|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59);VenHw(1F15DA3C-37FF-4070-B471-BB4AF12A724A)"
378
379 #
380 # ARM OS Loader
381 #
382 # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux:
383 gArmTokenSpaceGuid.PcdArmMachineType|2272
384 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from NorFlash"
385 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)/MemoryMapped(0x0,0xED000000,0xED400000)"
386 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1
387
388 # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut)
389 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi();VenHw(CE660500-824D-11E0-AC72-0002A5D5C51B)"
390 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi()"
391 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|10
392
393 # RunAxf support via Dynamic Shell Command protocol
394 # We want to use the Shell Libraries but don't want it to initialise
395 # automatically. We initialise the libraries when the command is called by the
396 # Shell.
397 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
398
399 [Components.common]
400 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
401
402 # Versatile Express FileSystem
403 ArmPlatformPkg/FileSystem/BootMonFs/BootMonFs.inf
404
405 #
406 # Networking stack
407 #
408 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
409 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
410 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
411 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.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