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