]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA9x4.dsc
48c64b1cba19f436f44fc184a8efcceaafc29637
[mirror_edk2.git] / ArmPlatformPkg / ArmVExpressPkg / ArmVExpress-CTA9x4.dsc
1 #
2 # Copyright (c) 2011, 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 ################################################################################
15 #
16 # Defines Section - statements that will be processed to create a Makefile.
17 #
18 ################################################################################
19 [Defines]
20 PLATFORM_NAME = ArmVExpressPkg-CTA9x4
21 PLATFORM_GUID = eb2bd5ff-2379-4a06-9c12-db905cdee9ea
22 PLATFORM_VERSION = 0.1
23 DSC_SPECIFICATION = 0x00010005
24 !if $(EDK2_ARMVE_STANDALONE) == 1
25 OUTPUT_DIRECTORY = Build/ArmVExpress-CTA9x4-Standalone
26 !else
27 OUTPUT_DIRECTORY = Build/ArmVExpress-CTA9x4
28 !endif
29 SUPPORTED_ARCHITECTURES = ARM
30 BUILD_TARGETS = DEBUG|RELEASE
31 SKUID_IDENTIFIER = DEFAULT
32 FLASH_DEFINITION = ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA9x4.fdf
33
34 [LibraryClasses.common]
35 !if $(BUILD_TARGETS) == RELEASE
36 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
37 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
38 !else
39 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
40 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
41 # UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
42 !endif
43 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
44
45 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLib.inf
46 ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ArmVExpressLib.inf
47 ArmTrustZoneLib|ArmPkg/Library/ArmTrustZoneLib/ArmTrustZoneLib.inf
48 ArmMPCoreMailBoxLib|ArmPkg/Library/ArmMPCoreMailBoxLib/ArmMPCoreMailBoxLib.inf
49
50 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
51 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
52 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
53
54 EfiResetSystemLib|ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.inf
55 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
56 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
57
58 EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf
59 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
60 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
61
62 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
63 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
64
65 #
66 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
67 # in the debugger will show load and unload commands for symbols. You can cut and paste this
68 # into the command window to load symbols. We should be able to use a script to do this, but
69 # the version of RVD I have does not support scripts accessing system memory.
70 #
71 # PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
72 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
73 # PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
74
75 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
76 DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
77
78 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
79
80 RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
81
82 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
83
84 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
85 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
86
87 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
88 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
89 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
90 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
91 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
92
93 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
94 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
95 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
96
97 # ARM PL310 L2 Cache Driver
98 L2X0CacheLib|ArmPkg/Drivers/PL310L2Cache/PL310L2CacheSec.inf
99 # ARM PL354 SMC Driver
100 PL354SmcLib|ArmPkg/Drivers/PL35xSmc/PL354SmcSec.inf
101 # ARM PL341 DMC Driver
102 PL341DmcLib|ArmPkg/Drivers/PL34xDmc/PL341Dmc.inf
103 # ARM PL301 Axi Driver
104 PL301AxiLib|ArmPkg/Drivers/PL301Axi/PL301Axi.inf
105 # ARM PL011 UART Driver
106 PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf
107
108 ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf
109 NorFlashPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf
110 LcdPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpressLib.inf
111
112 #
113 # Assume everything is fixed at build
114 #
115 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
116
117 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
118
119 EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf
120
121 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
122 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
123
124 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf
125
126 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
127 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
128 #DebugAgentTimerLib|ArmPlatformPkg/ArmVExpressPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf
129
130 SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
131 TimerLib|ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf
132 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
133
134 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
135
136 [LibraryClasses.common.SEC]
137 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLibSec.inf
138 ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ArmVExpressSecLib.inf
139
140 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
141
142 # 1/123 faster than Stm or Vstm version
143 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
144
145 # Uncomment to turn on GDB stub in SEC.
146 #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf
147
148 # ARM PL390 General Interrupt Driver in Secure and Non-secure
149 PL390GicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSec.inf
150 PL390GicNonSecLib|ArmPkg/Drivers/PL390Gic/PL390GicNonSec.inf
151
152 !if $(EDK2_SKIP_PEICORE) == 1
153 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
154 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
155 LzmaDecompressLib|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
156 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
157 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
158 PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
159 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
160 PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
161 MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
162 !endif
163
164 [LibraryClasses.common.PEI_CORE]
165 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
166 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
167 # note: this won't actually work since globals in PEI are not writeable
168 # need to generate an ARM PEI services table pointer implementation
169 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
170 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
171 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
172 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.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 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
178 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
179
180 [LibraryClasses.common.PEIM]
181 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
182 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
183 # note: this won't actually work since globals in PEI are not writeable
184 # need to generate an ARM PEI services table pointer implementation
185 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
186 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
187 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
188 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
189 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
190 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
191 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
192 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
193 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
194 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
195 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
196
197 [LibraryClasses.common.DXE_CORE]
198 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
199 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
200 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
201 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
202 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
203 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
204 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
205 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
206
207 [LibraryClasses.common.DXE_DRIVER]
208 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
209 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
210 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
211 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
212 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
213
214 [LibraryClasses.common.UEFI_APPLICATION]
215 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
216 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
217 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
218 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
219 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
220
221 [LibraryClasses.common.UEFI_DRIVER]
222 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
223 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
224 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
225 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
226 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
227
228 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
229 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
230 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
231 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
232 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
233
234 [LibraryClasses.ARM]
235 #
236 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
237 # This library provides the instrinsic functions generate by a given compiler.
238 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
239 #
240 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
241
242 [BuildOptions]
243 RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A9 --thumb
244 RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A9
245 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
246 RVCT:*_*_ARM_PLATFORM_FLAGS = -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4
247
248 ARMGCC:*_*_ARM_ARCHCC_FLAGS ==
249 ARMGCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
250 ARMGCC:*_*_ARM_PLATFORM_FLAGS = -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4
251
252
253 ################################################################################
254 #
255 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
256 #
257 ################################################################################
258
259 [PcdsFeatureFlag.common]
260 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
261 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
262 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
263 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
264
265 #
266 # Control what commands are supported from the UI
267 # Turn these on and off to add features or save size
268 #
269 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
270 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
271 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
272 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
273 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
274 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
275 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
276
277 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
278
279 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
280 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
281
282 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
283 gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE
284
285 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
286
287 !if $(EDK2_SKIP_PEICORE) == 1
288 gArmTokenSpaceGuid.PcdSkipPeiCore|TRUE
289 !endif
290
291
292 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
293 # It could be set FALSE to save size.
294 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
295
296 [PcdsFixedAtBuild.common]
297 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Versatile Express"
298
299 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmVExpress"
300 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32
301 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0
302 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
303 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
304 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
305 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
306 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
307 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
308 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
309 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
310
311 # DEBUG_ASSERT_ENABLED 0x01
312 # DEBUG_PRINT_ENABLED 0x02
313 # DEBUG_CODE_ENABLED 0x04
314 # CLEAR_MEMORY_ENABLED 0x08
315 # ASSERT_BREAKPOINT_ENABLED 0x10
316 # ASSERT_DEADLOOP_ENABLED 0x20
317 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
318
319 # DEBUG_INIT 0x00000001 // Initialization
320 # DEBUG_WARN 0x00000002 // Warnings
321 # DEBUG_LOAD 0x00000004 // Load events
322 # DEBUG_FS 0x00000008 // EFI File system
323 # DEBUG_POOL 0x00000010 // Alloc & Free's
324 # DEBUG_PAGE 0x00000020 // Alloc & Free's
325 # DEBUG_INFO 0x00000040 // Verbose
326 # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
327 # DEBUG_VARIABLE 0x00000100 // Variable
328 # DEBUG_BM 0x00000400 // Boot Manager
329 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
330 # DEBUG_NET 0x00004000 // SNI Driver
331 # DEBUG_UNDI 0x00010000 // UNDI Driver
332 # DEBUG_LOADFILE 0x00020000 // UNDI Driver
333 # DEBUG_EVENT 0x00080000 // Event messages
334 # DEBUG_ERROR 0x80000000 // Error
335 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
336
337 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
338
339 #
340 # NV Storage PCDs. Use base of 0x43FC0000 for NOR0 or 0x47FC0000 for NOR1 on Versatile Express
341 #
342 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x47FC0000
343 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x00010000
344 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x47FD0000
345 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00010000
346 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x47FE0000
347 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00010000
348
349 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
350 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
351 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
352
353 #
354 # Optional feature to help prevent EFI memory map fragments
355 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
356 # Values are in EFI Pages (4K). DXE Core will make sure that
357 # at least this much of each type of memory can be allocated
358 # from a single memory range. This way you only end up with
359 # maximum of two fragements for each type in the memory map
360 # (the memory used, and the free memory that was prereserved
361 # but not used).
362 #
363 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
364 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
365 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
366 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|50
367 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|20
368 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400
369 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000
370 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
371 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
372
373 gArmPlatformTokenSpaceGuid.PcdMPCoreSupport|1
374 gArmTokenSpaceGuid.PcdVFPEnabled|1
375
376 !if $(EDK2_ARMVE_STANDALONE) == 1
377 gArmPlatformTokenSpaceGuid.PcdStandalone|1
378 !endif
379
380 # Stacks for MPCores in Secure World
381 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x49E00000 # Top of SEC Stack for Secure World
382 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecStackSize|0x2000 # Stack for each of the 4 CPU cores
383
384 # Stacks for MPCores in Monitor Mode
385 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x49D00000 # Top of SEC Stack for Monitor World
386 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecMonStackSize|0x2000 # Stack for each of the 4 CPU cores
387
388 # Stacks for MPCores in Normal World
389 gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackBase|0x48000000 # Top of SEC Stack for Normal World
390 gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackSize|0x00020000 # Stack for each of the 4 CPU cores
391
392 # System Memory (1GB)
393 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x60000000
394 gArmTokenSpaceGuid.PcdSystemMemorySize|0x40000000
395
396 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|1000000
397 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms
398 gArmPlatformTokenSpaceGuid.PcdSP804Timer0InterruptNum|34
399
400 #
401 # ARM Pcds
402 #
403 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000
404
405 #
406 # ARM PrimeCell
407 #
408 gArmTokenSpaceGuid.PcdPL180SysMciRegAddress|0x10000048
409 gArmTokenSpaceGuid.PcdPL180MciBaseAddress|0x10005000
410
411 #
412 # ARM PL011 - Serial Terminal
413 #
414 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10009000
415 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|38400
416
417 #
418 # ARM PL390 General Interrupt Controller
419 #
420 gArmTokenSpaceGuid.PcdGicDistributorBase|0x1e001000
421 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x1e000100
422
423 #
424 # ARM OS Loader
425 #
426 # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux:
427 gArmTokenSpaceGuid.PcdArmMachineType|2272
428 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"NorFlash"
429 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(1F15DA3C-37FF-4070-B471-BB4AF12A724A)/MemoryMapped(0x0,0x46000000,0x46400000)"
430 gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|"rdinit=/bin/ash debug earlyprintk console=ttyAMA0,38400 mem=1G"
431 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1
432
433 # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut)
434 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi();VenHw(407B4008-BF5B-11DF-9547-CF16E0D72085)"
435 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi()"
436 gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut|10
437
438 #
439 # ARM L2x0 PCDs
440 #
441 gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1E00A000
442
443 #
444 # ARM VE MP Core Mailbox
445 #
446 gArmTokenSpaceGuid.PcdMPCoreMailboxSetAddress|0x10000030
447 gArmTokenSpaceGuid.PcdMPCoreMailboxGetAddress|0x10000030
448 gArmTokenSpaceGuid.PcdMPCoreMailboxClearAddress|0x10000034
449 gArmTokenSpaceGuid.PcdMPCoreMailboxClearValue|0xFFFFFFFF
450
451
452 ################################################################################
453 #
454 # Components Section - list of all EDK II Modules needed by this Platform
455 #
456 ################################################################################
457 [Components.common]
458
459 #
460 # SEC
461 #
462 ArmPlatformPkg/Sec/Sec.inf
463
464 #
465 # PEI Phase modules
466 #
467 !if $(EDK2_SKIP_PEICORE) == 1
468 ArmPlatformPkg/PrePi/PeiMPCore.inf {
469 <LibraryClasses>
470 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLib.inf
471 ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ArmVExpressLib.inf
472 }
473 !else
474 ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf
475 MdeModulePkg/Core/Pei/PeiMain.inf
476 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
477 <LibraryClasses>
478 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
479 }
480 ArmPlatformPkg/PlatformPei/PlatformPeim.inf
481 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
482 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
483 Nt32Pkg/BootModePei/BootModePei.inf
484 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
485 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
486 <LibraryClasses>
487 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
488 }
489 !endif
490
491 #
492 # DXE
493 #
494 MdeModulePkg/Core/Dxe/DxeMain.inf {
495 <LibraryClasses>
496 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
497 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
498 }
499
500 #
501 # Architectural Protocols
502 #
503 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
504 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
505 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
506 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
507 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
508 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
509 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
510 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
511 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
512 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
513
514 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
515 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
516 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
517 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
518 EmbeddedPkg/SerialDxe/SerialDxe.inf
519
520 ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf
521 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
522 ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf
523 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf
524 ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf
525
526 #
527 # Semi-hosting filesystem
528 #
529 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
530
531 #
532 # Multimedia Card Interface
533 #
534 EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
535 ArmPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
536
537 #
538 # FAT filesystem + GPT/MBR partitioning
539 #
540 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
541 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
542 FatPkg/EnhancedFatDxe/Fat.inf
543 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
544
545 #
546 # Application
547 #
548 EmbeddedPkg/Ebl/Ebl.inf
549
550 #
551 # Bds
552 #
553 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
554 ArmPlatformPkg/Bds/Bds.inf