]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-A9x2.dsc
7d65f65388584568aa2718603f3c84594ea4b595
[mirror_edk2.git] / ArmPlatformPkg / ArmRealViewEbPkg / ArmRealViewEb-RTSM-A9x2.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 = ArmRealViewEb-RTSM-A9x2
21 PLATFORM_GUID = f6c2f4a0-2027-11e0-a2a1-0002a5d5c51b
22 PLATFORM_VERSION = 0.1
23 DSC_SPECIFICATION = 0x00010005
24 OUTPUT_DIRECTORY = Build/ArmRealViewEb-RTSM-A9x2
25 SUPPORTED_ARCHITECTURES = ARM
26 BUILD_TARGETS = DEBUG|RELEASE
27 SKUID_IDENTIFIER = DEFAULT
28 FLASH_DEFINITION = ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-MPCore.fdf
29
30 [LibraryClasses.common]
31 !if $(TARGET) == RELEASE
32 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
33 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
34 !else
35 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
36 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
37 # UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
38 !endif
39 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
40
41 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLib.inf
42 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf
43
44 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
45 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
46 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
47
48 EfiResetSystemLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ResetSystemLib/ResetSystemLib.inf
49 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
50 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
51
52 EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf
53 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
54 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
55
56 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
57 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
58
59 #
60 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
61 # in the debugger will show load and unload commands for symbols. You can cut and paste this
62 # into the command window to load symbols. We should be able to use a script to do this, but
63 # the version of RVD I have does not support scripts accessing system memory.
64 #
65 # PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
66 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
67 # PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
68
69 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
70 DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
71
72 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
73
74 RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
75
76 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
77
78 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
79 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
80
81 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
82 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
83 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
84 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
85 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
86
87 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
88 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
89 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
90
91 #
92 # Assume everything is fixed at build
93 #
94 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
95
96 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
97
98 EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf
99
100 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
101 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
102
103 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf
104
105 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
106 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsOnlyLib/DebugAgentSymbolsOnlyLib.inf
107 DebugAgentTimerLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf
108
109 SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
110 TimerLib|ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf
111 GdbSerialLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/GdbSerialLib/GdbSerialLib.inf
112 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
113
114 # ARM PL011 UART Driver
115 PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf
116 # ARM PL390 General Interrupt Driver in Secure and Non-secure
117 ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf
118 ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
119
120 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
121
122 ArmPlatformSysConfigLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/SysConfigArmRealViewEbLib/SysConfigArmRealViewEbLib.inf
123 NorFlashPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/NorFlashArmRealViewEbLib/NorFlashArmRealViewEbLib.inf
124 LcdPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/PL111LcdArmRealViewEbLib/PL111LcdArmRealViewEbLib.inf
125
126 [LibraryClasses.common.SEC]
127 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLibSec.inf
128 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbSecLib.inf
129 DebugSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf
130
131 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
132
133 # 1/123 faster than Stm or Vstm version
134 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
135
136 # Uncomment to turn on GDB stub in SEC.
137 #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf
138
139 # L2 Cache Driver
140 L2X0CacheLib|ArmPlatformPkg/Library/L2X0CacheLibNull/L2X0CacheLibNull.inf
141
142 !if $(EDK2_SKIP_PEICORE) == 1
143 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
144 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
145 LzmaDecompressLib|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
146 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
147 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
148 PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
149 PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
150 MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
151 !endif
152
153 [LibraryClasses.common.PEI_CORE]
154 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
155 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
156 # note: this won't actually work since globals in PEI are not writeable
157 # need to generate an ARM PEI services table pointer implementation
158 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
159 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
160 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
161 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
162 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
163 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
164 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
165 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
166 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
167 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
168
169 [LibraryClasses.common.PEIM]
170 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
171 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
172 # note: this won't actually work since globals in PEI are not writeable
173 # need to generate an ARM PEI services table pointer implementation
174 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
175 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
176 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
177 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
178 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
179 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
180 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
181 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
182 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
183 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
184 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
185
186 [LibraryClasses.common.DXE_CORE]
187 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
188 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
189 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
190 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
191 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
192 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
193 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
194 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
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 [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
222 [LibraryClasses.ARM]
223 #
224 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
225 # This library provides the instrinsic functions generate by a given compiler.
226 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
227 #
228 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
229
230 [BuildOptions]
231 RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A9 --thumb --fpu=softvfp -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
232 RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A9 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
233 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
234
235 GCC:*_*_ARM_ARCHCC_FLAGS == -march=armv7-a -mthumb -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
236 GCC:*_*_ARM_ARCHASM_FLAGS == -march=armv7-a -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
237 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
238
239 XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv7 -march=armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
240 XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
241 XCODE:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
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 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
257
258 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
259 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
260
261 gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE
262
263 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
264
265 !if $(EDK2_SKIP_PEICORE) == 1
266 gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE
267 gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|TRUE
268 !endif
269
270 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
271 # It could be set FALSE to save size.
272 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
273
274 [PcdsFixedAtBuild.common]
275 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM RealView Emulation Board"
276
277 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmRealViewEb-A9x2"
278 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32
279 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0
280 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
281 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
282 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
283 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
284 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
285 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
286 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
287 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
288
289 # DEBUG_ASSERT_ENABLED 0x01
290 # DEBUG_PRINT_ENABLED 0x02
291 # DEBUG_CODE_ENABLED 0x04
292 # CLEAR_MEMORY_ENABLED 0x08
293 # ASSERT_BREAKPOINT_ENABLED 0x10
294 # ASSERT_DEADLOOP_ENABLED 0x20
295 !if $(TARGET) == RELEASE
296 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
297 !else
298 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
299 !endif
300
301 # DEBUG_INIT 0x00000001 // Initialization
302 # DEBUG_WARN 0x00000002 // Warnings
303 # DEBUG_LOAD 0x00000004 // Load events
304 # DEBUG_FS 0x00000008 // EFI File system
305 # DEBUG_POOL 0x00000010 // Alloc & Free's
306 # DEBUG_PAGE 0x00000020 // Alloc & Free's
307 # DEBUG_INFO 0x00000040 // Verbose
308 # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
309 # DEBUG_VARIABLE 0x00000100 // Variable
310 # DEBUG_BM 0x00000400 // Boot Manager
311 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
312 # DEBUG_NET 0x00004000 // SNI Driver
313 # DEBUG_UNDI 0x00010000 // UNDI Driver
314 # DEBUG_LOADFILE 0x00020000 // UNDI Driver
315 # DEBUG_EVENT 0x00080000 // Event messages
316 # DEBUG_ERROR 0x80000000 // Error
317 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
318
319 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
320
321 #
322 # NV Storage PCDs. Use base of 0x43F00000 for NOR0
323 #
324 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x43F00000
325 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x000C0000
326 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x43FC0000
327 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00020000
328 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x43FE0000
329 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00020000
330
331 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
332 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
333 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
334
335 #
336 # Optional feature to help prevent EFI memory map fragments
337 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
338 # Values are in EFI Pages (4K). DXE Core will make sure that
339 # at least this much of each type of memory can be allocated
340 # from a single memory range. This way you only end up with
341 # maximum of two fragements for each type in the memory map
342 # (the memory used, and the free memory that was prereserved
343 # but not used).
344 #
345 gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x00000000
346
347 gArmPlatformTokenSpaceGuid.PcdMPCoreSupport|1
348
349 # Stacks for MPCores in Secure World
350 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x4B000000
351 # Stacks for MPCores in Monitor Mode
352 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x4A000000
353 # Stacks for MPCores in Normal World
354 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x48000000
355
356 # System Memory (256MB)
357 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x70000000
358 gArmTokenSpaceGuid.PcdSystemMemorySize|0x10000000
359
360 # Size of the region used by UEFI in permanent memory (Reserved 64MB)
361 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000
362
363 #
364 # ARM Pcds
365 #
366 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000
367
368 #
369 # ARM EB PCDS
370 #
371 gArmRealViewEbPkgTokenSpaceGuid.PcdGdbUartBase|0x1000a000
372
373 #
374 # ARM PrimeCells
375 #
376
377 ## SP804 Timer
378 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|1000000
379 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms
380 gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicInterruptNum|33
381 gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicBase|0x10011000
382 gArmPlatformTokenSpaceGuid.PcdSP804TimerPerformanceBase|0x10012020
383 gArmPlatformTokenSpaceGuid.PcdSP804TimerMetronomeBase|0x10012000
384
385 ## PL031 RealTimeClock
386 gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x10017000
387
388 #
389 # ARM PL011 - Serial Terminal
390 #
391 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10009000
392
393 #
394 # ARM PL390 General Interrupt Controller
395 #
396 gArmTokenSpaceGuid.PcdGicDistributorBase|0x1F001000
397 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x1F000100
398 gArmTokenSpaceGuid.PcdGicNumInterrupts|96
399
400 #
401 # ARM OS Loader
402 #
403 gArmTokenSpaceGuid.PcdArmMachineType|827
404 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"SemiHosting"
405 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/zImage"
406 gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|""
407 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1
408
409 # Use the Serial console (ConIn & ConOut) and the Graphic driver (ConOut)
410 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi();VenHw(407B4008-BF5B-11DF-9547-CF16E0D72085)"
411 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi()"
412 gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut|10
413
414 #
415 # ARM L2x0 PCDs
416 #
417 gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1F002000
418
419 ################################################################################
420 #
421 # Components Section - list of all EDK II Modules needed by this Platform
422 #
423 ################################################################################
424 [Components.common]
425
426 #
427 # SEC
428 #
429 ArmPlatformPkg/Sec/Sec.inf
430
431 #
432 # PEI Phase modules
433 #
434 !if $(EDK2_SKIP_PEICORE) == 1
435 ArmPlatformPkg/PrePi/PeiMPCore.inf {
436 <LibraryClasses>
437 ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
438 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLib.inf
439 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf
440 }
441 !else
442 ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf {
443 <LibraryClasses>
444 ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
445 }
446 MdeModulePkg/Core/Pei/PeiMain.inf
447 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
448 <LibraryClasses>
449 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
450 }
451 ArmPlatformPkg/PlatformPei/PlatformPeim.inf
452 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
453 ArmPkg/Drivers/CpuPei/CpuPei.inf
454 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
455 Nt32Pkg/BootModePei/BootModePei.inf
456 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
457 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
458 <LibraryClasses>
459 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
460 }
461 !endif
462
463 #
464 # DXE
465 #
466 MdeModulePkg/Core/Dxe/DxeMain.inf {
467 <LibraryClasses>
468 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
469 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
470 }
471
472 #
473 # Architectural Protocols
474 #
475 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
476 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
477 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
478 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
479 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
480 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
481 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
482 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
483
484 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
485 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
486 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
487
488 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
489 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
490 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf
491
492 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
493 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
494 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
495 EmbeddedPkg/SerialDxe/SerialDxe.inf
496
497 ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf
498 ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf
499
500 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
501
502 #
503 # Semi-hosting filesystem
504 #
505 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
506
507 #
508 # FAT filesystem + GPT/MBR partitioning
509 #
510 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
511 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
512 FatPkg/EnhancedFatDxe/Fat.inf
513 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
514
515
516 #
517 # Application
518 #
519 EmbeddedPkg/Ebl/Ebl.inf
520
521 #
522 # Bds
523 #
524 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
525 ArmPlatformPkg/Bds/Bds.inf