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