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