]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-A9x2.dsc
ArmPlatformPkg/EblCmdLib: Add the 'devicepaths' EBL command
[mirror_edk2.git] / ArmPlatformPkg / ArmRealViewEbPkg / ArmRealViewEb-RTSM-A9x2.dsc
CommitLineData
1d5d0ae9 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 $(BUILD_TARGETS) == 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
a54d2109 39 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
1d5d0ae9 40
41 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLib.inf
42 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf
43 ArmMPCoreMailBoxLib|ArmPkg/Library/ArmMPCoreMailBoxLib/ArmMPCoreMailBoxLib.inf
44
45 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
46 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
a89cb4b7 47 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
1d5d0ae9 48
49 EfiResetSystemLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ResetSystemLib/ResetSystemLib.inf
50 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
51 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
52
53 EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf
54 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
55 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
56
57 #
58 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
59 # in the debugger will show load and unload commands for symbols. You can cut and paste this
60 # into the command window to load symbols. We should be able to use a script to do this, but
61 # the version of RVD I have does not support scripts accessing system memory.
62 #
63# PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
64 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
65# PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
66
67 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
68 DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
69
70 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
71
72 RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
73
74 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
75
76 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
77 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
78
79 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
80 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
81 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
82 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
83 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
84
85 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
86 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
87 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
88
89#
90# Assume everything is fixed at build
91#
92 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
93
94 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
95
96 EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf
97
98 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
99 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
100
101 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf
102
103 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
104 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
105 DebugAgentTimerLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf
106
107 SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
108 TimerLib|ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf
109 GdbSerialLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/GdbSerialLib/GdbSerialLib.inf
110 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
111
9dcfb8e5 112 # ARM PL011 UART Driver
113 PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf
114
1d5d0ae9 115 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
a89cb4b7 116
d355ba48 117 ArmPlatformSysConfigLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/SysConfigArmRealViewEbLib/SysConfigArmRealViewEbLib.inf
a89cb4b7 118 NorFlashPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/NorFlashArmRealViewEbLib/NorFlashArmRealViewEbLib.inf
9bc6ef02 119 LcdPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/PL111LcdArmRealViewEbLib/PL111LcdArmRealViewEbLib.inf
1d5d0ae9 120
121[LibraryClasses.common.SEC]
122 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLibSec.inf
123 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
124 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbSecLib.inf
125
126 # 1/123 faster than Stm or Vstm version
127 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
128
129 # Uncomment to turn on GDB stub in SEC.
130 #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf
131
132 # L2 Cache Driver
133 L2X0CacheLib|ArmPkg/Library/L2X0CacheLibNull/L2X0CacheLibNull.inf
134 # ARM PL390 General Interrupt Driver in Secure and Non-secure
135 PL390GicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSec.inf
136 PL390GicNonSecLib|ArmPkg/Drivers/PL390Gic/PL390GicNonSec.inf
137
138[LibraryClasses.common.PEI_CORE]
139 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
140 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
141 # note: this won't actually work since globals in PEI are not writeable
142 # need to generate an ARM PEI services table pointer implementation
143 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
144 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
145 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
146 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
147 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
148 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
149 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
150 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
151 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
152 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
153 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
154 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
155
156[LibraryClasses.common.PEIM]
157 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
158 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
159 # note: this won't actually work since globals in PEI are not writeable
160 # need to generate an ARM PEI services table pointer implementation
161 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
162 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
163 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
164 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
165 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
166 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
167 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
168 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
169 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
170 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
171 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
172 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
173 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
174
175[LibraryClasses.common.DXE_CORE]
176 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
177 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
178 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
179 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
180 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
181 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
182 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
183
184 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
185
186
187[LibraryClasses.common.DXE_DRIVER]
188 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
189 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
190 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
191 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
192 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
193
194
195[LibraryClasses.common.UEFI_APPLICATION]
196 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
197 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
198 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
199 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
200
201[LibraryClasses.common.UEFI_DRIVER]
202 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
203 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
204 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
205 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
206 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
207
208[LibraryClasses.common.DXE_RUNTIME_DRIVER]
209 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
210 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
211 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
212 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
213# PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
214 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
215
216[LibraryClasses.ARM]
217 #
218 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
219 # This library provides the instrinsic functions generate by a given compiler.
220 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
221 #
222 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
223
224[BuildOptions]
225 RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A9 --thumb --fpu=softvfp -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
226 RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A9 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
227 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
228
229 GCC:*_*_ARM_ARCHCC_FLAGS == -march=armv7-a -mthumb -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
230 GCC:*_*_ARM_ARCHASM_FLAGS == -march=armv7-a -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
231 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
232
233 XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv7 -march=armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
234 XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
235 XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
236 XCODE:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
237
238
239################################################################################
240#
241# Pcd Section - list of all EDK II PCD Entries defined by this Platform
242#
243################################################################################
244
245[PcdsFeatureFlag.common]
246 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
247 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
248 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
249 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
250
251 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
252
253 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
254 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
255
256 gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE
257
258 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
259
260 gArmPlatformTokenSpaceGuid.PcdStandalone|TRUE
261
262!if $(EDK2_SKIP_PEICORE) == 1
263 gArmTokenSpaceGuid.PcdSkipPeiCore|TRUE
264!endif
265
266[PcdsFixedAtBuild.common]
ea46ebbe 267 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM RealView Emulation Board"
268
e6b3b508 269 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmRealViewEb-A9x2"
1d5d0ae9 270 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32
271 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0
272 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
273 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
274 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
275 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
276 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
277 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
278 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
279 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
280
281# DEBUG_ASSERT_ENABLED 0x01
282# DEBUG_PRINT_ENABLED 0x02
283# DEBUG_CODE_ENABLED 0x04
284# CLEAR_MEMORY_ENABLED 0x08
285# ASSERT_BREAKPOINT_ENABLED 0x10
286# ASSERT_DEADLOOP_ENABLED 0x20
287 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
288
289# DEBUG_INIT 0x00000001 // Initialization
290# DEBUG_WARN 0x00000002 // Warnings
291# DEBUG_LOAD 0x00000004 // Load events
292# DEBUG_FS 0x00000008 // EFI File system
293# DEBUG_POOL 0x00000010 // Alloc & Free's
294# DEBUG_PAGE 0x00000020 // Alloc & Free's
295# DEBUG_INFO 0x00000040 // Verbose
296# DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
297# DEBUG_VARIABLE 0x00000100 // Variable
298# DEBUG_BM 0x00000400 // Boot Manager
299# DEBUG_BLKIO 0x00001000 // BlkIo Driver
300# DEBUG_NET 0x00004000 // SNI Driver
301# DEBUG_UNDI 0x00010000 // UNDI Driver
302# DEBUG_LOADFILE 0x00020000 // UNDI Driver
303# DEBUG_EVENT 0x00080000 // Event messages
304# DEBUG_ERROR 0x80000000 // Error
305 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
306
307 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
a89cb4b7 308
309 #
310 # NV Storage PCDs. Use base of 0x43F00000 for NOR0
311 #
312 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x43F00000
313 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x000C0000
314 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x43FC0000
315 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00020000
316 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x43FE0000
317 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00020000
1d5d0ae9 318
319 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
320 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
321 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
322
323#
324# Optional feature to help prevent EFI memory map fragments
325# Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
326# Values are in EFI Pages (4K). DXE Core will make sure that
327# at least this much of each type of memory can be allocated
328# from a single memory range. This way you only end up with
329# maximum of two fragements for each type in the memory map
330# (the memory used, and the free memory that was prereserved
331# but not used).
332#
333 gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x00000000
334
335 gArmPlatformTokenSpaceGuid.PcdMPCoreSupport|1
336
337 # Stacks for MPCores in Secure World
338 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x4B000000 # Top of SEC Stack for Secure World
339 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecStackSize|0x2000 # Stack for each of the 4 CPU cores
340
341 # Stacks for MPCores in Monitor Mode
342 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x4A000000 # Top of SEC Stack for Monitor World
343 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecMonStackSize|0x2000 # Stack for each of the 4 CPU cores
344
345 # Stacks for MPCores in Normal World
346 gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackBase|0x48000000 # Top of SEC Stack for Normal World
347 gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackSize|0x20000 # Stack for each of the 4 CPU cores
348 gArmPlatformTokenSpaceGuid.PcdPeiServicePtrAddr|0x48020004 # Pei Services Ptr just above stack
349
350 # Non Sec UEFI Firmware: These two PCDs must match PcdFlashFvMainBase/PcdFlashFvMainSize
262a9b04 351 gArmTokenSpaceGuid.PcdNormalFdBaseAddress|0x40050000 # Must be equal to gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase
352 gArmTokenSpaceGuid.PcdNormalFdSize|0x00100000 # Must be equal to gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize
1d5d0ae9 353
964680c1 354 # System Memory (256MB)
355 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x70000000
356 gArmTokenSpaceGuid.PcdSystemMemorySize|0x10000000
357
358 # Size of the region used by UEFI in permanent memory (Reserved 64MB)
359 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000
360
6fd231c0 361 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|1000000
1d5d0ae9 362 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms
1eb3454b 363 gArmPlatformTokenSpaceGuid.PcdSP804Timer0InterruptNum|33
1d5d0ae9 364
365 #
366 # ARM Pcds
367 #
368 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000
369
370 #
371 # ARM EB PCDS
372 #
373 gArmRealViewEbPkgTokenSpaceGuid.PcdGdbUartBase|0x1000a000
374
6fd231c0 375 #
376 # ARM PL011 - Serial Terminal
377 #
378 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10009000
379
1d5d0ae9 380 #
381 # ARM PL390 General Interrupt Controller
382 #
383 gArmTokenSpaceGuid.PcdGicDistributorBase|0x10041000
384 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x10040000
55fad965 385 gArmTokenSpaceGuid.PcdGicNumInterrupts|96
1d5d0ae9 386
387 #
388 # ARM OS Loader
389 #
ea46ebbe 390 gArmTokenSpaceGuid.PcdArmMachineType|827
391 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"SemiHosting"
392 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/zImage"
393 gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|"rdinit=/bin/ash debug earlyprintk console=ttyAMA0,38400 mem=128M"
394 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1
1d5d0ae9 395
396 #
397 # ARM L2x0 PCDs
398 #
399 gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1F002000
400
401 #
402 # ARM VE MP Core Mailbox
403 #
404 gArmTokenSpaceGuid.PcdMPCoreMailboxSetAddress|0x10000030
405 gArmTokenSpaceGuid.PcdMPCoreMailboxGetAddress|0x10000030
406 gArmTokenSpaceGuid.PcdMPCoreMailboxClearAddress|0x10000034
407 gArmTokenSpaceGuid.PcdMPCoreMailboxClearValue|0xFFFFFFFF
408
409
410################################################################################
411#
412# Components Section - list of all EDK II Modules needed by this Platform
413#
414################################################################################
415[Components.common]
416
417#
418# SEC
419#
420 ArmPlatformPkg/Sec/Sec.inf
421 ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf
422
423#
424# PEI Phase modules
425#
426 MdeModulePkg/Core/Pei/PeiMain.inf
427 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
428 <LibraryClasses>
429 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
430 }
431 ArmPlatformPkg/PlatformPei/PlatformPei.inf
432 ArmPlatformPkg/MemoryInitPei/MemoryInitPei.inf
433 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
434 Nt32Pkg/BootModePei/BootModePei.inf
435 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
436 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
437 <LibraryClasses>
438 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
439 }
440
441#
442# DXE
443#
444 MdeModulePkg/Core/Dxe/DxeMain.inf {
445 <LibraryClasses>
446 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
447 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
448 }
449
450 #
451 # Architectural Protocols
452 #
453 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
454 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
455 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
456 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
457 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
a89cb4b7 458 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
459 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
1d5d0ae9 460 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
461
462 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
463 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
464 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
465
466 EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf
9bc6ef02 467 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf
1d5d0ae9 468
469 ArmPlatformPkg/ArmRealViewEbPkg/FvbDxe/FvbDxe.inf
55fad965 470 ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf
1d5d0ae9 471 ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf
a89cb4b7 472
473 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
1d5d0ae9 474
475 #
476 # Semi-hosting filesystem
477 #
478 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
479
480 #
481 # FAT filesystem + GPT/MBR partitioning
482 #
483 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
484 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
485 FatPkg/EnhancedFatDxe/Fat.inf
486 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
487
488
489 #
490 # Application
491 #
492 EmbeddedPkg/Ebl/Ebl.inf
493
494 #
495 # Bds
496 #
497 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
498 ArmPlatformPkg/Bds/Bds.inf