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