]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
ArmPlatformPkg/ArmShellCmdRunAxf: Added 'runaxf' cmd to shell
[mirror_edk2.git] / ArmPlatformPkg / ArmVExpressPkg / ArmVExpress.dsc.inc
CommitLineData
4103bc94 1#\r
94e0955d 2# Copyright (c) 2011-2014, ARM Limited. All rights reserved.\r
4103bc94 3#\r
3402aac7
RC
4# This program and the accompanying materials\r
5# are licensed and made available under the terms and conditions of the BSD License\r
6# which accompanies this distribution. The full text of the license may be found at\r
7# http://opensource.org/licenses/bsd-license.php\r
8#\r
9# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
10# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
4103bc94 11#\r
12#\r
13\r
14[LibraryClasses.common]\r
15!if $(TARGET) == RELEASE\r
16 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
17 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r
18!else\r
19 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
20 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r
21# UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf\r
22!endif\r
23 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
3402aac7 24\r
4103bc94 25 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
26 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
27 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
28 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
29 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
30 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
31 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
32 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
33 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
34\r
35 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
36 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
37 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
38 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
39 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
40 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
41 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
42 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
43 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
3402aac7 44 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
4103bc94 45\r
46 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
47\r
48 #\r
49 # Assume everything is fixed at build\r
50 #\r
51 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
3402aac7 52\r
4103bc94 53 # 1/123 faster than Stm or Vstm version\r
54 #BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
55 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf\r
56\r
1eee8f37
RH
57 # Networking Requirements\r
58 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
59 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
60 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
61 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
62\r
4103bc94 63 # ARM Architectural Libraries\r
64 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r
65 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r
793ae6ee 66 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf\r
4103bc94 67 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r
68 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf\r
017baa1c 69 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r
17839a45 70 ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf\r
166c01fb 71 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r
4f6d34b4 72 ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf\r
4103bc94 73\r
74 # Versatile Express Specific Libraries\r
e0a1413d 75 PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf\r
4103bc94 76 ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf\r
77 NorFlashPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf\r
78 EfiResetSystemLib|ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.inf\r
79 # ARM PL111 Lcd Driver\r
80 LcdPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpressLib.inf\r
81 # ARM PL031 RTC Driver\r
82 RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf\r
83 # ARM PL354 SMC Driver\r
84 PL35xSmcLib|ArmPlatformPkg/Drivers/PL35xSmc/PL35xSmc.inf\r
85 # ARM PL011 UART Driver\r
86 PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf\r
87 SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf\r
d38c35f9 88 SerialPortExtLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortExtLib.inf\r
4103bc94 89 # ARM SP804 Dual Timer Driver\r
90 TimerLib|ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf\r
91\r
3402aac7 92 # EBL Related Libraries\r
4103bc94 93 EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf\r
94 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf\r
95 EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf\r
96 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf\r
3402aac7 97\r
4103bc94 98 #\r
3402aac7 99 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window\r
4103bc94 100 # in the debugger will show load and unload commands for symbols. You can cut and paste this\r
101 # into the command window to load symbols. We should be able to use a script to do this, but\r
102 # the version of RVD I have does not support scripts accessing system memory.\r
103 #\r
104 #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r
105 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r
106 #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
3402aac7 107\r
4103bc94 108 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
109 DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf\r
110\r
3402aac7 111 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf\r
4103bc94 112\r
113 # BDS Libraries\r
114 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf\r
0a6653bc 115 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r
4103bc94 116\r
ced216f8
HL
117 # RunAxf support via Dynamic Shell Command protocol\r
118 # It uses the Shell libraries.\r
119 ArmShellCmdRunAxfLib|ArmPlatformPkg/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.inf\r
120 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
121 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
122 SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf\r
123\r
4103bc94 124[LibraryClasses.common.SEC]\r
c7b7c445 125 ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf\r
4103bc94 126 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf\r
3402aac7 127\r
9d6b024d 128 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf\r
619b3998 129 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf\r
3402aac7 130\r
4103bc94 131!ifdef $(EDK2_SKIP_PEICORE)\r
132 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r
133 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r
134 LzmaDecompressLib|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
135 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf\r
136 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf\r
137 PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf\r
138 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
4103bc94 139 MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf\r
140!endif\r
141\r
8cc852f7 142 # Trustzone Support\r
143 ArmTrustedMonitorLib|ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/ArmTrustedMonitorLibNull.inf\r
144\r
4103bc94 145[LibraryClasses.common.PEI_CORE]\r
146 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
147 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
148 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
149 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
150 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
151 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
152 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
153 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
154 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
155 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
3402aac7 156\r
4103bc94 157 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf\r
158 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
3402aac7 159\r
4103bc94 160[LibraryClasses.common.PEIM]\r
161 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
162 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
163 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
164 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
165 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
166 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
167 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
168 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
169 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
170 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
171 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
172\r
173 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf\r
174 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
175\r
176[LibraryClasses.common.DXE_CORE]\r
177 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
178 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
179 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
180 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
181 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
182 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
183 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
184 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r
185\r
186[LibraryClasses.common.DXE_DRIVER]\r
187 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
188 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
189 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
190 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
191 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
192 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf\r
193\r
194[LibraryClasses.common.UEFI_APPLICATION]\r
195 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
196 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
197 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
198 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
199\r
200[LibraryClasses.common.UEFI_DRIVER]\r
201 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
202 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
203 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
204 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
a08dcb2a 205 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
4103bc94 206 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
207\r
208[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
209 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
210 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
211 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
212 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
213\r
bd1d0628 214[LibraryClasses.ARM, LibraryClasses.AARCH64]\r
4103bc94 215 #\r
216 # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r
217 # This library provides the instrinsic functions generate by a given compiler.\r
218 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.\r
219 #\r
220 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
221\r
bd1d0628
OM
222 # Add support for GCC stack protector\r
223 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
27be3601
HL
224\r
225\r
4103bc94 226[BuildOptions]\r
227 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
228\r
229 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
230\r
231################################################################################\r
232#\r
233# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
234#\r
235################################################################################\r
236\r
237[PcdsFeatureFlag.common]\r
238 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE\r
239 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE\r
240 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE\r
241 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE\r
3402aac7 242\r
4103bc94 243 #\r
244 # Control what commands are supported from the UI\r
245 # Turn these on and off to add features or save size\r
3402aac7 246 #\r
4103bc94 247 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE\r
248 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE\r
249 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE\r
250 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE\r
251 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE\r
252 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE\r
253 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE\r
254\r
255 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE\r
3402aac7 256\r
4103bc94 257 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress\r
258 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE\r
3402aac7 259\r
4103bc94 260 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE\r
3402aac7 261\r
4103bc94 262 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE\r
263\r
264[PcdsFixedAtBuild.common]\r
265 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Versatile Express"\r
0b7c0607
LL
266!ifdef $(FIRMWARE_VER)\r
267 gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(FIRMWARE_VER)"\r
268!endif\r
3402aac7 269\r
4103bc94 270 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"VExpress"\r
4103bc94 271 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r
272 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r
273 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r
274 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r
275 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF\r
276 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1\r
277 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0\r
278 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r
279\r
280 # DEBUG_ASSERT_ENABLED 0x01\r
281 # DEBUG_PRINT_ENABLED 0x02\r
282 # DEBUG_CODE_ENABLED 0x04\r
283 # CLEAR_MEMORY_ENABLED 0x08\r
284 # ASSERT_BREAKPOINT_ENABLED 0x10\r
285 # ASSERT_DEADLOOP_ENABLED 0x20\r
286!if $(TARGET) == RELEASE\r
287 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21\r
288!else\r
289 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f\r
290!endif\r
291\r
292 # DEBUG_INIT 0x00000001 // Initialization\r
293 # DEBUG_WARN 0x00000002 // Warnings\r
294 # DEBUG_LOAD 0x00000004 // Load events\r
295 # DEBUG_FS 0x00000008 // EFI File system\r
296 # DEBUG_POOL 0x00000010 // Alloc & Free's\r
297 # DEBUG_PAGE 0x00000020 // Alloc & Free's\r
298 # DEBUG_INFO 0x00000040 // Verbose\r
299 # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers\r
300 # DEBUG_VARIABLE 0x00000100 // Variable\r
301 # DEBUG_BM 0x00000400 // Boot Manager\r
302 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
303 # DEBUG_NET 0x00004000 // SNI Driver\r
304 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
305 # DEBUG_LOADFILE 0x00020000 // UNDI Driver\r
306 # DEBUG_EVENT 0x00080000 // Event messages\r
4ca88ec7
OM
307 # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r
308 # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r
4103bc94 309 # DEBUG_ERROR 0x80000000 // Error\r
310 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F\r
311\r
312 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
313\r
314 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""\r
315 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07\r
316 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000\r
3402aac7 317\r
4103bc94 318 #\r
319 # Optional feature to help prevent EFI memory map fragments\r
320 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r
3402aac7
RC
321 # Values are in EFI Pages (4K). DXE Core will make sure that\r
322 # at least this much of each type of memory can be allocated\r
4103bc94 323 # from a single memory range. This way you only end up with\r
324 # maximum of two fragements for each type in the memory map\r
325 # (the memory used, and the free memory that was prereserved\r
326 # but not used).\r
327 #\r
328 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0\r
329 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0\r
330 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0\r
a78167a6
OM
331 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|80\r
332 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|65\r
4103bc94 333 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400\r
334 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000\r
335 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20\r
336 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0\r
81f29156
OM
337\r
338 # Device path of block device on which Android Fastboot should flash\r
339 # partitions. We just use the SD card on VExpress.\r
340 gArmVExpressTokenSpaceGuid.PcdAndroidFastbootNvmDevicePath|L"VenHw(09831032-6FA3-4484-AF4F-0A000A8D3A82)"\r
341\r
4103bc94 342 #\r
343 # ARM Pcds\r
344 #\r
345 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000\r
81f29156 346\r
4103bc94 347 #\r
348 # ARM PrimeCell\r
349 #\r
350\r
94e0955d
OM
351 #\r
352 # FileSystem\r
353 #\r
354\r
355 # List of Device Paths that support BootMonFs\r
80ae6291 356 gArmPlatformTokenSpaceGuid.PcdBootMonFsSupportedDevicePaths|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59);VenHw(1F15DA3C-37FF-4070-B471-BB4AF12A724A)"\r
94e0955d 357\r
4103bc94 358 #\r
359 # ARM OS Loader\r
360 #\r
3402aac7 361 # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux:\r
4103bc94 362 gArmTokenSpaceGuid.PcdArmMachineType|2272\r
363 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from NorFlash"\r
364 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)/MemoryMapped(0x0,0xED000000,0xED400000)"\r
4103bc94 365 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1\r
3402aac7 366\r
4103bc94 367 # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut)\r
368 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi();VenHw(CE660500-824D-11E0-AC72-0002A5D5C51B)"\r
369 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi()"\r
370 gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut|10\r
371\r
ced216f8
HL
372 # RunAxf support via Dynamic Shell Command protocol\r
373 # We want to use the Shell Libraries but don't want it to initialise\r
374 # automatically. We initialise the libraries when the command is called by the\r
375 # Shell.\r
376 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
377\r
94e0955d
OM
378[Components.common]\r
379 # Versatile Express FileSystem\r
380 ArmPlatformPkg/FileSystem/BootMonFs/BootMonFs.inf\r
1eee8f37
RH
381\r
382 #\r
383 # Networking stack\r
384 #\r
385 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
386 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
387 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
388 MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf\r
389 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
390 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
391 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
392 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
393 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r
394 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
395 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
396 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
397\r
4257aa4d
OM
398 # ISP1761 USB OTG Controller\r
399 EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.inf\r
81f29156
OM
400\r
401 #\r
402 # Android Fastboot\r
403 #\r
404 EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.inf\r
405 EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsbDxe.inf\r
406 ArmPlatformPkg/ArmVExpressPkg/ArmVExpressFastBootDxe/ArmVExpressFastBootDxe.inf\r