]>
Commit | Line | Data |
---|---|---|
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 = ArmVExpressPkg-CTA9x4 | |
21 | PLATFORM_GUID = eb2bd5ff-2379-4a06-9c12-db905cdee9ea | |
22 | PLATFORM_VERSION = 0.1 | |
23 | DSC_SPECIFICATION = 0x00010005 | |
24 | !if $(EDK2_ARMVE_STANDALONE) == 1 | |
25 | OUTPUT_DIRECTORY = Build/ArmVExpress-CTA9x4-Standalone | |
26 | !else | |
27 | OUTPUT_DIRECTORY = Build/ArmVExpress-CTA9x4 | |
28 | !endif | |
29 | SUPPORTED_ARCHITECTURES = ARM | |
30 | BUILD_TARGETS = DEBUG|RELEASE | |
31 | SKUID_IDENTIFIER = DEFAULT | |
32 | FLASH_DEFINITION = ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA9x4.fdf | |
33 | ||
34 | [LibraryClasses.common] | |
35 | !if $(BUILD_TARGETS) == RELEASE | |
36 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf | |
37 | UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf | |
38 | !else | |
39 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf | |
40 | UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf | |
41 | # UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf | |
42 | !endif | |
43 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf | |
44 | ||
45 | ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLib.inf | |
46 | ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ArmVExpressLib.inf | |
47 | ArmTrustZoneLib|ArmPkg/Library/ArmTrustZoneLib/ArmTrustZoneLib.inf | |
48 | ArmMPCoreMailBoxLib|ArmPkg/Library/ArmMPCoreMailBoxLib/ArmMPCoreMailBoxLib.inf | |
49 | ||
50 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf | |
51 | BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf | |
52 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf | |
53 | ||
54 | EfiResetSystemLib|ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.inf | |
55 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf | |
56 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf | |
57 | ||
58 | EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf | |
59 | EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf | |
60 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf | |
61 | ||
62 | # | |
63 | # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window | |
64 | # in the debugger will show load and unload commands for symbols. You can cut and paste this | |
65 | # into the command window to load symbols. We should be able to use a script to do this, but | |
66 | # the version of RVD I have does not support scripts accessing system memory. | |
67 | # | |
68 | # PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf | |
69 | PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf | |
70 | # PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf | |
71 | ||
72 | CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf | |
73 | DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf | |
74 | ||
75 | SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf | |
76 | ||
77 | RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf | |
78 | ||
79 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf | |
80 | ||
81 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf | |
82 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf | |
83 | ||
84 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf | |
85 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf | |
86 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf | |
87 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf | |
88 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf | |
89 | ||
90 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf | |
91 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf | |
92 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf | |
93 | ||
94 | # ARM PL310 L2 Cache Driver | |
95 | L2X0CacheLib|ArmPkg/Drivers/PL310L2Cache/PL310L2CacheSec.inf | |
96 | # ARM PL354 SMC Driver | |
97 | PL354SmcLib|ArmPkg/Drivers/PL35xSmc/PL354SmcSec.inf | |
98 | # ARM PL341 DMC Driver | |
99 | PL341DmcLib|ArmPkg/Drivers/PL34xDmc/PL341Dmc.inf | |
100 | # ARM PL301 Axi Driver | |
101 | PL301AxiLib|ArmPkg/Drivers/PL301Axi/PL301Axi.inf | |
102 | # ARM PL011 UART Driver | |
103 | PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf | |
104 | ||
105 | NorFlashPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf | |
106 | ||
107 | # | |
108 | # Assume everything is fixed at build | |
109 | # | |
110 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf | |
111 | ||
112 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf | |
113 | ||
114 | EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf | |
115 | ||
116 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf | |
117 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf | |
118 | ||
119 | EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf | |
120 | ||
121 | ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf | |
122 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf | |
123 | #DebugAgentTimerLib|ArmPlatformPkg/ArmVExpressPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf | |
124 | ||
125 | SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf | |
126 | TimerLib|ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf | |
127 | DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf | |
128 | ||
129 | BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf | |
130 | ||
131 | [LibraryClasses.common.SEC] | |
132 | ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLibSec.inf | |
133 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf | |
134 | ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ArmVExpressSecLib.inf | |
135 | ||
136 | # 1/123 faster than Stm or Vstm version | |
137 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf | |
138 | ||
139 | # Uncomment to turn on GDB stub in SEC. | |
140 | #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf | |
141 | ||
142 | # ARM PL390 General Interrupt Driver in Secure and Non-secure | |
143 | PL390GicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSec.inf | |
144 | PL390GicNonSecLib|ArmPkg/Drivers/PL390Gic/PL390GicNonSec.inf | |
145 | ||
146 | [LibraryClasses.common.PEI_CORE] | |
147 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf | |
148 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf | |
149 | # note: this won't actually work since globals in PEI are not writeable | |
150 | # need to generate an ARM PEI services table pointer implementation | |
151 | PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf | |
152 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf | |
153 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf | |
154 | PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf | |
155 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf | |
156 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf | |
157 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf | |
158 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf | |
159 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf | |
160 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf | |
161 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf | |
162 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf | |
163 | ||
164 | [LibraryClasses.common.PEIM] | |
165 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf | |
166 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf | |
167 | # note: this won't actually work since globals in PEI are not writeable | |
168 | # need to generate an ARM PEI services table pointer implementation | |
169 | PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf | |
170 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf | |
171 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf | |
172 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf | |
173 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf | |
174 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf | |
175 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf | |
176 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf | |
177 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf | |
178 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf | |
179 | PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf | |
180 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf | |
181 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf | |
182 | ||
183 | [LibraryClasses.common.DXE_CORE] | |
184 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf | |
185 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf | |
186 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf | |
187 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
188 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf | |
189 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf | |
190 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf | |
191 | ||
192 | PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf | |
193 | ||
194 | ||
195 | [LibraryClasses.common.DXE_DRIVER] | |
196 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
197 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf | |
198 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf | |
199 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf | |
200 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
201 | ||
202 | ||
203 | [LibraryClasses.common.UEFI_APPLICATION] | |
204 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
205 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf | |
206 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf | |
207 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
208 | ||
209 | [LibraryClasses.common.UEFI_DRIVER] | |
210 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
211 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf | |
212 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf | |
213 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf | |
214 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
215 | ||
216 | [LibraryClasses.common.DXE_RUNTIME_DRIVER] | |
217 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf | |
218 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
219 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
220 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf | |
221 | # PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf | |
222 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
223 | ||
224 | [LibraryClasses.ARM] | |
225 | # | |
226 | # It is not possible to prevent the ARM compiler for generic intrinsic functions. | |
227 | # This library provides the instrinsic functions generate by a given compiler. | |
228 | # [LibraryClasses.ARM] and NULL mean link this library into all ARM images. | |
229 | # | |
230 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf | |
231 | ||
232 | [BuildOptions] | |
233 | RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A9 --thumb -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4 | |
234 | RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A9 -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4 | |
235 | RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4 | |
236 | ||
237 | ARMGCC:*_*_ARM_ARCHCC_FLAGS == -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4 | |
238 | ARMGCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4 | |
239 | ||
240 | ||
241 | ################################################################################ | |
242 | # | |
243 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform | |
244 | # | |
245 | ################################################################################ | |
246 | ||
247 | [PcdsFeatureFlag.common] | |
248 | gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE | |
249 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE | |
250 | gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE | |
251 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE | |
252 | ||
253 | # | |
254 | # Control what commands are supported from the UI | |
255 | # Turn these on and off to add features or save size | |
256 | # | |
257 | gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE | |
258 | gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE | |
259 | gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE | |
260 | gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE | |
261 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE | |
262 | gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE | |
263 | gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE | |
264 | ||
265 | gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE | |
266 | ||
267 | # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress | |
268 | gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE | |
269 | ||
270 | gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE | |
271 | gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE | |
272 | ||
273 | gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE | |
274 | ||
275 | !if $(EDK2_ARMVE_STANDALONE) == 1 | |
276 | gArmPlatformTokenSpaceGuid.PcdStandalone|TRUE | |
277 | !endif | |
278 | ||
279 | !if $(EDK2_SKIP_PEICORE) == 1 | |
280 | gArmTokenSpaceGuid.PcdSkipPeiCore|TRUE | |
281 | !endif | |
282 | ||
283 | [PcdsFixedAtBuild.common] | |
284 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmVExpress %a" | |
285 | gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32 | |
286 | gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0 | |
287 | gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000 | |
288 | gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000 | |
289 | gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000 | |
290 | gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000 | |
291 | gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF | |
292 | gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1 | |
293 | gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0 | |
294 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320 | |
295 | ||
296 | # DEBUG_ASSERT_ENABLED 0x01 | |
297 | # DEBUG_PRINT_ENABLED 0x02 | |
298 | # DEBUG_CODE_ENABLED 0x04 | |
299 | # CLEAR_MEMORY_ENABLED 0x08 | |
300 | # ASSERT_BREAKPOINT_ENABLED 0x10 | |
301 | # ASSERT_DEADLOOP_ENABLED 0x20 | |
302 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f | |
303 | ||
304 | # DEBUG_INIT 0x00000001 // Initialization | |
305 | # DEBUG_WARN 0x00000002 // Warnings | |
306 | # DEBUG_LOAD 0x00000004 // Load events | |
307 | # DEBUG_FS 0x00000008 // EFI File system | |
308 | # DEBUG_POOL 0x00000010 // Alloc & Free's | |
309 | # DEBUG_PAGE 0x00000020 // Alloc & Free's | |
310 | # DEBUG_INFO 0x00000040 // Verbose | |
311 | # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers | |
312 | # DEBUG_VARIABLE 0x00000100 // Variable | |
313 | # DEBUG_BM 0x00000400 // Boot Manager | |
314 | # DEBUG_BLKIO 0x00001000 // BlkIo Driver | |
315 | # DEBUG_NET 0x00004000 // SNI Driver | |
316 | # DEBUG_UNDI 0x00010000 // UNDI Driver | |
317 | # DEBUG_LOADFILE 0x00020000 // UNDI Driver | |
318 | # DEBUG_EVENT 0x00080000 // Event messages | |
319 | # DEBUG_ERROR 0x80000000 // Error | |
320 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F | |
321 | ||
322 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07 | |
323 | ||
324 | # | |
325 | # NV Storage PCDs. Use base of 0x43FC0000 for NOR0 or 0x47FC0000 for NOR1 on Versatile Express | |
326 | # | |
327 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x47FC0000 | |
328 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x00010000 | |
329 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x47FD0000 | |
330 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00010000 | |
331 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x47FE0000 | |
332 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00010000 | |
333 | ||
334 | gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|"" | |
335 | gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07 | |
336 | gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000 | |
337 | ||
338 | # | |
339 | # Optional feature to help prevent EFI memory map fragments | |
340 | # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob | |
341 | # Values are in EFI Pages (4K). DXE Core will make sure that | |
342 | # at least this much of each type of memory can be allocated | |
343 | # from a single memory range. This way you only end up with | |
344 | # maximum of two fragements for each type in the memory map | |
345 | # (the memory used, and the free memory that was prereserved | |
346 | # but not used). | |
347 | # | |
348 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0 | |
349 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0 | |
350 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0 | |
351 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|50 | |
352 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|20 | |
353 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400 | |
354 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000 | |
355 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20 | |
356 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0 | |
357 | ||
358 | gArmPlatformTokenSpaceGuid.PcdMPCoreSupport|1 | |
359 | gArmTokenSpaceGuid.PcdVFPEnabled|1 | |
360 | ||
361 | # Stacks for MPCores in Secure World | |
362 | gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x49E00000 # Top of SEC Stack for Secure World | |
363 | gArmPlatformTokenSpaceGuid.PcdCPUCoreSecStackSize|0x2000 # Stack for each of the 4 CPU cores | |
364 | ||
365 | # Stacks for MPCores in Monitor Mode | |
366 | gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x49D00000 # Top of SEC Stack for Monitor World | |
367 | gArmPlatformTokenSpaceGuid.PcdCPUCoreSecMonStackSize|0x2000 # Stack for each of the 4 CPU cores | |
368 | ||
369 | # Stacks for MPCores in Normal World | |
370 | gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackBase|0x48000000 # Top of SEC Stack for Normal World | |
371 | gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackSize|0x00020000 # Stack for each of the 4 CPU cores | |
372 | gArmPlatformTokenSpaceGuid.PcdPeiServicePtrAddr|0x48020004 # pei services ptr just above stack. Overlapped with the stack of CoreId 1 | |
373 | ||
374 | ||
375 | # System Memory (1GB) | |
376 | gArmTokenSpaceGuid.PcdSystemMemoryBase|0x60000000 | |
377 | gArmTokenSpaceGuid.PcdSystemMemorySize|0x40000000 | |
378 | ||
379 | gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms | |
380 | ||
381 | # | |
382 | # ARM Pcds | |
383 | # | |
384 | gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000 | |
385 | ||
386 | # | |
387 | # ARM PrimeCell | |
388 | # | |
389 | gArmTokenSpaceGuid.PcdPL180SysMciRegAddress|0x10000048 | |
390 | gArmTokenSpaceGuid.PcdPL180MciBaseAddress|0x10005000 | |
391 | ||
392 | # | |
393 | # ARM PL011 - Serial Terminal | |
394 | # | |
395 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10009000 | |
396 | gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|38400 | |
397 | ||
398 | # | |
399 | # ARM PL390 General Interrupt Controller | |
400 | # | |
401 | gArmTokenSpaceGuid.PcdGicDistributorBase|0x1e001000 | |
402 | gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x1e000100 | |
403 | ||
404 | # | |
405 | # ARM OS Loader | |
406 | # | |
407 | # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux: | |
408 | gArmTokenSpaceGuid.PcdArmMachineType|2272 | |
409 | gArmTokenSpaceGuid.PcdLinuxKernelDP|L"VenHw(02118005-9DA7-443a-92D5-781F022AEDBB)/MemoryMapped(0,0x46000000,0x46400000)" | |
410 | gArmTokenSpaceGuid.PcdLinuxAtag|"rdinit=/bin/ash debug earlyprintk console=ttyAMA0,38400 mem=1G" | |
411 | gArmTokenSpaceGuid.PcdFdtDP|L"" | |
412 | ||
413 | # | |
414 | # ARM PL111 Colour LCD Controller | |
415 | # | |
416 | gArmVExpressTokenSpaceGuid.PcdPL111RegistersBaseMotherboard|0x1001F000 | |
417 | gArmVExpressTokenSpaceGuid.PcdPL111RegistersBaseDaughterboard|0x10020000 | |
418 | gArmVExpressTokenSpaceGuid.PcdPL111VRamBaseMotherboard|0x4C000000 | |
419 | gArmVExpressTokenSpaceGuid.PcdPL111VRamBaseDaughterboard|0x64000000 | |
420 | gArmVExpressTokenSpaceGuid.PcdPL111VRamSize|0x800000 | |
421 | ||
422 | # | |
423 | # ARM L2x0 PCDs | |
424 | # | |
425 | gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1E00A000 | |
426 | ||
427 | # | |
428 | # ARM VE MP Core Mailbox | |
429 | # | |
430 | gArmTokenSpaceGuid.PcdMPCoreMailboxSetAddress|0x10000030 | |
431 | gArmTokenSpaceGuid.PcdMPCoreMailboxGetAddress|0x10000030 | |
432 | gArmTokenSpaceGuid.PcdMPCoreMailboxClearAddress|0x10000034 | |
433 | gArmTokenSpaceGuid.PcdMPCoreMailboxClearValue|0xFFFFFFFF | |
434 | ||
435 | ||
436 | ################################################################################ | |
437 | # | |
438 | # Components Section - list of all EDK II Modules needed by this Platform | |
439 | # | |
440 | ################################################################################ | |
441 | [Components.common] | |
442 | ||
443 | # | |
444 | # SEC | |
445 | # | |
446 | ArmPlatformPkg/Sec/Sec.inf | |
447 | ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf | |
448 | ||
449 | # | |
450 | # PEI Phase modules | |
451 | # | |
452 | MdeModulePkg/Core/Pei/PeiMain.inf | |
453 | MdeModulePkg/Universal/PCD/Pei/Pcd.inf { | |
454 | <LibraryClasses> | |
455 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf | |
456 | } | |
457 | ArmPlatformPkg/PlatformPei/PlatformPei.inf | |
458 | ArmPlatformPkg/MemoryInitPei/MemoryInitPei.inf | |
459 | IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf | |
460 | Nt32Pkg/BootModePei/BootModePei.inf | |
461 | MdeModulePkg/Universal/Variable/Pei/VariablePei.inf | |
462 | MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf { | |
463 | <LibraryClasses> | |
464 | NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf | |
465 | } | |
466 | ||
467 | # | |
468 | # DXE | |
469 | # | |
470 | MdeModulePkg/Core/Dxe/DxeMain.inf { | |
471 | <LibraryClasses> | |
472 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf | |
473 | NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf | |
474 | } | |
475 | ||
476 | # | |
477 | # Architectural Protocols | |
478 | # | |
479 | ArmPkg/Drivers/CpuDxe/CpuDxe.inf | |
480 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf | |
481 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf | |
482 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf | |
483 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf | |
484 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf | |
485 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf | |
486 | EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf | |
487 | EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf | |
488 | EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf | |
489 | EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf | |
490 | ||
491 | EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf | |
492 | ||
493 | ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf | |
494 | ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf | |
495 | ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf | |
496 | ||
497 | # | |
498 | # Semi-hosting filesystem | |
499 | # | |
500 | ArmPkg/Filesystem/SemihostFs/SemihostFs.inf | |
501 | ||
502 | # | |
503 | # Multimedia Card Interface | |
504 | # | |
505 | EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf | |
506 | ArmPkg/Drivers/PL180MciDxe/PL180MciDxe.inf | |
507 | ||
508 | # | |
509 | # FAT filesystem + GPT/MBR partitioning | |
510 | # | |
511 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf | |
512 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf | |
513 | FatPkg/EnhancedFatDxe/Fat.inf | |
514 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf | |
515 | ||
516 | # | |
517 | # Application | |
518 | # | |
519 | EmbeddedPkg/Ebl/Ebl.inf | |
520 | ||
521 | # | |
522 | # Bds | |
523 | # | |
524 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf | |
525 | ArmPlatformPkg/Bds/Bds.inf |