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