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