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