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