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