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