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