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