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