]>
Commit | Line | Data |
---|---|---|
1d5d0ae9 | 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] | |
4d900a63 | 35 | !if $(TARGET) == RELEASE |
1d5d0ae9 | 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 | |
a54d2109 | 43 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf |
1d5d0ae9 | 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 | ||
936eff09 | 62 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf |
63 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf | |
64 | ||
1d5d0ae9 | 65 | # |
66 | # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window | |
67 | # in the debugger will show load and unload commands for symbols. You can cut and paste this | |
68 | # into the command window to load symbols. We should be able to use a script to do this, but | |
69 | # the version of RVD I have does not support scripts accessing system memory. | |
70 | # | |
71 | # PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf | |
72 | PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf | |
73 | # PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf | |
74 | ||
75 | CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf | |
76 | DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf | |
77 | ||
78 | SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf | |
79 | ||
80 | RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf | |
81 | ||
82 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf | |
83 | ||
84 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf | |
85 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf | |
86 | ||
87 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf | |
88 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf | |
89 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf | |
90 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf | |
91 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf | |
92 | ||
93 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf | |
94 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf | |
95 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf | |
96 | ||
8e06b586 | 97 | # ARM PL310 L2 Cache Driver |
5cc45b70 | 98 | L2X0CacheLib|ArmPlatformPkg/Drivers/PL310L2Cache/PL310L2CacheSec.inf |
e7f7105b | 99 | # ARM PL354 SMC Driver |
5cc45b70 | 100 | PL35xSmcLib|ArmPlatformPkg/Drivers/PL35xSmc/PL35xSmc.inf |
1d5d0ae9 | 101 | # ARM PL341 DMC Driver |
5cc45b70 | 102 | PL341DmcLib|ArmPlatformPkg/Drivers/PL34xDmc/PL341Dmc.inf |
1d5d0ae9 | 103 | # ARM PL301 Axi Driver |
5cc45b70 | 104 | PL301AxiLib|ArmPlatformPkg/Drivers/PL301Axi/PL301Axi.inf |
9dcfb8e5 | 105 | # ARM PL011 UART Driver |
106 | PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf | |
d5e12da4 | 107 | |
7b80d1a3 | 108 | ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf |
d5e12da4 | 109 | NorFlashPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf |
7d0f2f23 | 110 | LcdPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpressLib.inf |
1d5d0ae9 | 111 | |
112 | # | |
113 | # Assume everything is fixed at build | |
114 | # | |
115 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf | |
116 | ||
117 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf | |
118 | ||
119 | EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf | |
120 | ||
121 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf | |
122 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf | |
123 | ||
124 | EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf | |
125 | ||
126 | ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf | |
65cd89d0 | 127 | DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsOnlyLib/DebugAgentSymbolsOnlyLib.inf |
1d5d0ae9 | 128 | #DebugAgentTimerLib|ArmPlatformPkg/ArmVExpressPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf |
129 | ||
130 | SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf | |
131 | TimerLib|ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf | |
132 | DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf | |
133 | ||
134 | BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf | |
135 | ||
136 | [LibraryClasses.common.SEC] | |
137 | ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLibSec.inf | |
1d5d0ae9 | 138 | ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ArmVExpressSecLib.inf |
a6caee65 | 139 | DebugSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf |
1d5d0ae9 | 140 | |
9d074e73 | 141 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf |
142 | ||
1d5d0ae9 | 143 | # 1/123 faster than Stm or Vstm version |
144 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf | |
145 | ||
146 | # Uncomment to turn on GDB stub in SEC. | |
147 | #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf | |
148 | ||
1d5d0ae9 | 149 | # ARM PL390 General Interrupt Driver in Secure and Non-secure |
150 | PL390GicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSec.inf | |
151 | PL390GicNonSecLib|ArmPkg/Drivers/PL390Gic/PL390GicNonSec.inf | |
64e03133 | 152 | |
153 | !if $(EDK2_SKIP_PEICORE) == 1 | |
154 | PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf | |
155 | ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf | |
156 | LzmaDecompressLib|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf | |
157 | MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf | |
158 | HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf | |
159 | PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf | |
160 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf | |
161 | PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf | |
162 | MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf | |
163 | !endif | |
1d5d0ae9 | 164 | |
165 | [LibraryClasses.common.PEI_CORE] | |
166 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf | |
167 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf | |
168 | # note: this won't actually work since globals in PEI are not writeable | |
169 | # need to generate an ARM PEI services table pointer implementation | |
170 | PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf | |
171 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf | |
172 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf | |
173 | PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf | |
174 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf | |
175 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf | |
176 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf | |
177 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf | |
1d5d0ae9 | 178 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf |
179 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf | |
180 | ||
181 | [LibraryClasses.common.PEIM] | |
182 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf | |
183 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf | |
184 | # note: this won't actually work since globals in PEI are not writeable | |
185 | # need to generate an ARM PEI services table pointer implementation | |
186 | PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf | |
187 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf | |
188 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf | |
189 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf | |
190 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf | |
191 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf | |
192 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf | |
193 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf | |
1d5d0ae9 | 194 | PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf |
195 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf | |
196 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf | |
197 | ||
198 | [LibraryClasses.common.DXE_CORE] | |
199 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf | |
200 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf | |
201 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf | |
202 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
203 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf | |
204 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf | |
205 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf | |
1d5d0ae9 | 206 | PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf |
1d5d0ae9 | 207 | |
208 | [LibraryClasses.common.DXE_DRIVER] | |
209 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
210 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf | |
211 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf | |
212 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf | |
213 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
214 | ||
1d5d0ae9 | 215 | [LibraryClasses.common.UEFI_APPLICATION] |
216 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
217 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf | |
218 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf | |
219 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
9d074e73 | 220 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf |
1d5d0ae9 | 221 | |
222 | [LibraryClasses.common.UEFI_DRIVER] | |
223 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
224 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf | |
225 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf | |
226 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf | |
227 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
228 | ||
229 | [LibraryClasses.common.DXE_RUNTIME_DRIVER] | |
230 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf | |
231 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
232 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
233 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf | |
1d5d0ae9 | 234 | |
235 | [LibraryClasses.ARM] | |
236 | # | |
237 | # It is not possible to prevent the ARM compiler for generic intrinsic functions. | |
238 | # This library provides the instrinsic functions generate by a given compiler. | |
239 | # [LibraryClasses.ARM] and NULL mean link this library into all ARM images. | |
240 | # | |
241 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf | |
242 | ||
243 | [BuildOptions] | |
76bc1743 | 244 | RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A9 --thumb |
245 | RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A9 | |
246 | RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG | |
247 | RVCT:*_*_ARM_PLATFORM_FLAGS = -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4 | |
1d5d0ae9 | 248 | |
76bc1743 | 249 | ARMGCC:*_*_ARM_ARCHCC_FLAGS == |
250 | ARMGCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG | |
251 | ARMGCC:*_*_ARM_PLATFORM_FLAGS = -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4 | |
1d5d0ae9 | 252 | |
1d36ec02 | 253 | XCODE:*_*_ARM_PLATFORM_FLAGS = -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4 |
1d5d0ae9 | 254 | |
255 | ################################################################################ | |
256 | # | |
257 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform | |
258 | # | |
259 | ################################################################################ | |
260 | ||
261 | [PcdsFeatureFlag.common] | |
262 | gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE | |
263 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE | |
264 | gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE | |
265 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE | |
266 | ||
267 | # | |
268 | # Control what commands are supported from the UI | |
269 | # Turn these on and off to add features or save size | |
270 | # | |
271 | gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE | |
272 | gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE | |
273 | gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE | |
274 | gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE | |
275 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE | |
276 | gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE | |
277 | gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE | |
278 | ||
279 | gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE | |
280 | ||
281 | # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress | |
282 | gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE | |
283 | ||
284 | gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE | |
285 | gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE | |
286 | ||
287 | gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE | |
288 | ||
a6caee65 | 289 | !if $(EDK2_ARMVE_STANDALONE) == 1 |
290 | gArmPlatformTokenSpaceGuid.PcdStandalone|TRUE | |
291 | !else | |
292 | gArmPlatformTokenSpaceGuid.PcdStandalone|FALSE | |
293 | gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE | |
294 | gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|TRUE | |
1d5d0ae9 | 295 | !endif |
296 | ||
a6caee65 | 297 | !if $(EDK2_SKIP_PEICORE) == 1 |
298 | gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE | |
299 | gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|TRUE | |
300 | !endif | |
936eff09 | 301 | |
302 | ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe. | |
303 | # It could be set FALSE to save size. | |
304 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE | |
305 | ||
1d5d0ae9 | 306 | [PcdsFixedAtBuild.common] |
ea46ebbe | 307 | gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Versatile Express" |
308 | ||
e6b3b508 | 309 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmVExpress" |
1d5d0ae9 | 310 | gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32 |
311 | gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0 | |
312 | gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000 | |
313 | gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000 | |
314 | gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000 | |
315 | gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000 | |
316 | gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF | |
317 | gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1 | |
318 | gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0 | |
319 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320 | |
320 | ||
321 | # DEBUG_ASSERT_ENABLED 0x01 | |
322 | # DEBUG_PRINT_ENABLED 0x02 | |
323 | # DEBUG_CODE_ENABLED 0x04 | |
324 | # CLEAR_MEMORY_ENABLED 0x08 | |
325 | # ASSERT_BREAKPOINT_ENABLED 0x10 | |
326 | # ASSERT_DEADLOOP_ENABLED 0x20 | |
4d900a63 | 327 | !if $(TARGET) == RELEASE |
328 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21 | |
329 | !else | |
1d5d0ae9 | 330 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f |
4d900a63 | 331 | !endif |
1d5d0ae9 | 332 | |
333 | # DEBUG_INIT 0x00000001 // Initialization | |
334 | # DEBUG_WARN 0x00000002 // Warnings | |
335 | # DEBUG_LOAD 0x00000004 // Load events | |
336 | # DEBUG_FS 0x00000008 // EFI File system | |
337 | # DEBUG_POOL 0x00000010 // Alloc & Free's | |
338 | # DEBUG_PAGE 0x00000020 // Alloc & Free's | |
339 | # DEBUG_INFO 0x00000040 // Verbose | |
340 | # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers | |
341 | # DEBUG_VARIABLE 0x00000100 // Variable | |
342 | # DEBUG_BM 0x00000400 // Boot Manager | |
343 | # DEBUG_BLKIO 0x00001000 // BlkIo Driver | |
344 | # DEBUG_NET 0x00004000 // SNI Driver | |
345 | # DEBUG_UNDI 0x00010000 // UNDI Driver | |
346 | # DEBUG_LOADFILE 0x00020000 // UNDI Driver | |
347 | # DEBUG_EVENT 0x00080000 // Event messages | |
348 | # DEBUG_ERROR 0x80000000 // Error | |
349 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F | |
350 | ||
351 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07 | |
352 | ||
6acb379f | 353 | # |
354 | # NV Storage PCDs. Use base of 0x43FC0000 for NOR0 or 0x47FC0000 for NOR1 on Versatile Express | |
355 | # | |
356 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x47FC0000 | |
357 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x00010000 | |
358 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x47FD0000 | |
359 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00010000 | |
360 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x47FE0000 | |
361 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00010000 | |
362 | ||
1d5d0ae9 | 363 | gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|"" |
364 | gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07 | |
365 | gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000 | |
366 | ||
367 | # | |
368 | # Optional feature to help prevent EFI memory map fragments | |
369 | # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob | |
370 | # Values are in EFI Pages (4K). DXE Core will make sure that | |
371 | # at least this much of each type of memory can be allocated | |
372 | # from a single memory range. This way you only end up with | |
373 | # maximum of two fragements for each type in the memory map | |
374 | # (the memory used, and the free memory that was prereserved | |
375 | # but not used). | |
376 | # | |
377 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0 | |
378 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0 | |
379 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0 | |
380 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|50 | |
381 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|20 | |
382 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400 | |
383 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000 | |
384 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20 | |
385 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0 | |
386 | ||
387 | gArmPlatformTokenSpaceGuid.PcdMPCoreSupport|1 | |
d269095b | 388 | gArmPlatformTokenSpaceGuid.PcdMPCoreMaxCores|4 |
1d5d0ae9 | 389 | gArmTokenSpaceGuid.PcdVFPEnabled|1 |
390 | ||
391 | # Stacks for MPCores in Secure World | |
392 | gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x49E00000 # Top of SEC Stack for Secure World | |
393 | gArmPlatformTokenSpaceGuid.PcdCPUCoreSecStackSize|0x2000 # Stack for each of the 4 CPU cores | |
394 | ||
395 | # Stacks for MPCores in Monitor Mode | |
396 | gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x49D00000 # Top of SEC Stack for Monitor World | |
397 | gArmPlatformTokenSpaceGuid.PcdCPUCoreSecMonStackSize|0x2000 # Stack for each of the 4 CPU cores | |
398 | ||
399 | # Stacks for MPCores in Normal World | |
400 | gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackBase|0x48000000 # Top of SEC Stack for Normal World | |
401 | gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackSize|0x00020000 # Stack for each of the 4 CPU cores | |
1d5d0ae9 | 402 | |
964680c1 | 403 | # System Memory (1GB) |
404 | gArmTokenSpaceGuid.PcdSystemMemoryBase|0x60000000 | |
405 | gArmTokenSpaceGuid.PcdSystemMemorySize|0x40000000 | |
5cc45b70 | 406 | |
1d5d0ae9 | 407 | # |
408 | # ARM Pcds | |
409 | # | |
410 | gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000 | |
5cc45b70 | 411 | |
1d5d0ae9 | 412 | # |
413 | # ARM PrimeCell | |
414 | # | |
1d5d0ae9 | 415 | |
5cc45b70 | 416 | ## SP804 Timer |
417 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|1000000 | |
418 | gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms | |
419 | gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicInterruptNum|34 | |
420 | gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicBase|0x10011000 | |
421 | gArmPlatformTokenSpaceGuid.PcdSP804TimerPerformanceBase|0x10012020 | |
422 | gArmPlatformTokenSpaceGuid.PcdSP804TimerMetronomeBase|0x10012000 | |
423 | ||
424 | ## SP805 Watchdog - Motherboard Watchdog | |
425 | gArmPlatformTokenSpaceGuid.PcdSP805WatchdogBase|0x1000F000 | |
426 | ## SP805 Watchdog - CoreTile Watchdog | |
427 | #gArmPlatformTokenSpaceGuid.PcdSP805WatchdogBase|0x100E5000 | |
428 | ||
429 | ## PL011 - Serial Terminal | |
9dcfb8e5 | 430 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10009000 |
431 | gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|38400 | |
5cc45b70 | 432 | |
433 | ## PL031 RealTimeClock | |
434 | gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x10017000 | |
435 | ||
436 | ## PL111 Lcd | |
437 | # PL111 CoreTile or Tuscan Standalone controller | |
438 | gArmPlatformTokenSpaceGuid.PcdPL111LcdBase|0x10020000 | |
439 | # PL111 Versatile Express Motherboard controller | |
440 | #gArmPlatformTokenSpaceGuid.PcdPL111LcdBase|0x1001F000 | |
441 | ||
442 | ## PL180 MMC/SD card controller | |
443 | gArmPlatformTokenSpaceGuid.PcdPL180SysMciRegAddress|0x10000048 | |
444 | gArmPlatformTokenSpaceGuid.PcdPL180MciBaseAddress|0x10005000 | |
9dcfb8e5 | 445 | |
1d5d0ae9 | 446 | # |
447 | # ARM PL390 General Interrupt Controller | |
448 | # | |
449 | gArmTokenSpaceGuid.PcdGicDistributorBase|0x1e001000 | |
450 | gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x1e000100 | |
451 | ||
452 | # | |
453 | # ARM OS Loader | |
454 | # | |
455 | # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux: | |
456 | gArmTokenSpaceGuid.PcdArmMachineType|2272 | |
ea46ebbe | 457 | gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"NorFlash" |
458 | gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(1F15DA3C-37FF-4070-B471-BB4AF12A724A)/MemoryMapped(0x0,0x46000000,0x46400000)" | |
cb5bf269 | 459 | gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|"" |
ea46ebbe | 460 | gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1 |
1d5d0ae9 | 461 | |
936eff09 | 462 | # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut) |
463 | gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi();VenHw(407B4008-BF5B-11DF-9547-CF16E0D72085)" | |
464 | gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi()" | |
465 | gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut|10 | |
466 | ||
1d5d0ae9 | 467 | # |
468 | # ARM L2x0 PCDs | |
469 | # | |
470 | gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1E00A000 | |
471 | ||
472 | # | |
473 | # ARM VE MP Core Mailbox | |
474 | # | |
475 | gArmTokenSpaceGuid.PcdMPCoreMailboxSetAddress|0x10000030 | |
476 | gArmTokenSpaceGuid.PcdMPCoreMailboxGetAddress|0x10000030 | |
477 | gArmTokenSpaceGuid.PcdMPCoreMailboxClearAddress|0x10000034 | |
478 | gArmTokenSpaceGuid.PcdMPCoreMailboxClearValue|0xFFFFFFFF | |
479 | ||
480 | ||
481 | ################################################################################ | |
482 | # | |
483 | # Components Section - list of all EDK II Modules needed by this Platform | |
484 | # | |
485 | ################################################################################ | |
486 | [Components.common] | |
487 | ||
488 | # | |
489 | # SEC | |
490 | # | |
491 | ArmPlatformPkg/Sec/Sec.inf | |
1d5d0ae9 | 492 | |
493 | # | |
494 | # PEI Phase modules | |
495 | # | |
64e03133 | 496 | !if $(EDK2_SKIP_PEICORE) == 1 |
497 | ArmPlatformPkg/PrePi/PeiMPCore.inf { | |
498 | <LibraryClasses> | |
499 | ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLib.inf | |
500 | ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ArmVExpressLib.inf | |
501 | } | |
502 | !else | |
a6caee65 | 503 | ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf { |
504 | <LibraryClasses> | |
505 | PL390GicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicNonSec.inf | |
506 | } | |
1d5d0ae9 | 507 | MdeModulePkg/Core/Pei/PeiMain.inf |
508 | MdeModulePkg/Universal/PCD/Pei/Pcd.inf { | |
509 | <LibraryClasses> | |
510 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf | |
511 | } | |
64e03133 | 512 | ArmPlatformPkg/PlatformPei/PlatformPeim.inf |
513 | ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf | |
1d5d0ae9 | 514 | IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf |
515 | Nt32Pkg/BootModePei/BootModePei.inf | |
516 | MdeModulePkg/Universal/Variable/Pei/VariablePei.inf | |
517 | MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf { | |
518 | <LibraryClasses> | |
519 | NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf | |
520 | } | |
64e03133 | 521 | !endif |
1d5d0ae9 | 522 | |
523 | # | |
524 | # DXE | |
525 | # | |
526 | MdeModulePkg/Core/Dxe/DxeMain.inf { | |
527 | <LibraryClasses> | |
528 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf | |
529 | NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf | |
530 | } | |
531 | ||
532 | # | |
533 | # Architectural Protocols | |
534 | # | |
535 | ArmPkg/Drivers/CpuDxe/CpuDxe.inf | |
536 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf | |
537 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf | |
1d5d0ae9 | 538 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf |
539 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf | |
540 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf | |
9d074e73 | 541 | MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf |
1d5d0ae9 | 542 | EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf |
543 | EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf | |
544 | EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf | |
936eff09 | 545 | |
546 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf | |
547 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf | |
548 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf | |
549 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf | |
550 | EmbeddedPkg/SerialDxe/SerialDxe.inf | |
1d5d0ae9 | 551 | |
552 | ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf | |
d5e12da4 | 553 | ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf |
1d5d0ae9 | 554 | ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf |
7d0f2f23 | 555 | ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf |
33e7c2ab | 556 | ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf |
1d5d0ae9 | 557 | |
558 | # | |
559 | # Semi-hosting filesystem | |
560 | # | |
561 | ArmPkg/Filesystem/SemihostFs/SemihostFs.inf | |
562 | ||
563 | # | |
564 | # Multimedia Card Interface | |
565 | # | |
ce73d60a | 566 | EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf |
5cc45b70 | 567 | ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf |
1d5d0ae9 | 568 | |
569 | # | |
570 | # FAT filesystem + GPT/MBR partitioning | |
571 | # | |
572 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf | |
573 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf | |
574 | FatPkg/EnhancedFatDxe/Fat.inf | |
575 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf | |
576 | ||
577 | # | |
578 | # Application | |
579 | # | |
580 | EmbeddedPkg/Ebl/Ebl.inf | |
581 | ||
582 | # | |
583 | # Bds | |
584 | # | |
585 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf | |
586 | ArmPlatformPkg/Bds/Bds.inf |