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