]>
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] | |
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 | |
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 |
98 | L2X0CacheLib|ArmPkg/Drivers/PL310L2Cache/PL310L2CacheSec.inf | |
e7f7105b | 99 | # ARM PL354 SMC Driver |
100 | PL354SmcLib|ArmPkg/Drivers/PL35xSmc/PL354SmcSec.inf | |
1d5d0ae9 | 101 | # ARM PL341 DMC Driver |
102 | PL341DmcLib|ArmPkg/Drivers/PL34xDmc/PL341Dmc.inf | |
103 | # ARM PL301 Axi Driver | |
104 | PL301AxiLib|ArmPkg/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 | |
127 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf | |
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 |
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 |
149 | PL390GicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSec.inf | |
150 | PL390GicNonSecLib|ArmPkg/Drivers/PL390Gic/PL390GicNonSec.inf | |
151 | ||
152 | [LibraryClasses.common.PEI_CORE] | |
153 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf | |
154 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf | |
155 | # note: this won't actually work since globals in PEI are not writeable | |
156 | # need to generate an ARM PEI services table pointer implementation | |
157 | PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf | |
158 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf | |
159 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf | |
160 | PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf | |
161 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf | |
162 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf | |
163 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf | |
164 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf | |
1d5d0ae9 | 165 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf |
166 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf | |
167 | ||
168 | [LibraryClasses.common.PEIM] | |
169 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf | |
170 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf | |
171 | # note: this won't actually work since globals in PEI are not writeable | |
172 | # need to generate an ARM PEI services table pointer implementation | |
173 | PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf | |
174 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf | |
175 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf | |
176 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf | |
177 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf | |
178 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf | |
179 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf | |
180 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf | |
1d5d0ae9 | 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 | |
1d5d0ae9 | 193 | PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf |
1d5d0ae9 | 194 | |
195 | [LibraryClasses.common.DXE_DRIVER] | |
196 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
197 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf | |
198 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf | |
199 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf | |
200 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
201 | ||
1d5d0ae9 | 202 | [LibraryClasses.common.UEFI_APPLICATION] |
203 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
204 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf | |
205 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf | |
206 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
9d074e73 | 207 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf |
1d5d0ae9 | 208 | |
209 | [LibraryClasses.common.UEFI_DRIVER] | |
210 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
211 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf | |
212 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf | |
213 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf | |
214 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
215 | ||
216 | [LibraryClasses.common.DXE_RUNTIME_DRIVER] | |
217 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf | |
218 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
219 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
220 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf | |
1d5d0ae9 | 221 | |
222 | [LibraryClasses.ARM] | |
223 | # | |
224 | # It is not possible to prevent the ARM compiler for generic intrinsic functions. | |
225 | # This library provides the instrinsic functions generate by a given compiler. | |
226 | # [LibraryClasses.ARM] and NULL mean link this library into all ARM images. | |
227 | # | |
228 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf | |
229 | ||
230 | [BuildOptions] | |
76bc1743 | 231 | RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A9 --thumb |
232 | RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A9 | |
233 | RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG | |
234 | RVCT:*_*_ARM_PLATFORM_FLAGS = -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4 | |
1d5d0ae9 | 235 | |
76bc1743 | 236 | ARMGCC:*_*_ARM_ARCHCC_FLAGS == |
237 | ARMGCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG | |
238 | ARMGCC:*_*_ARM_PLATFORM_FLAGS = -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4 | |
1d5d0ae9 | 239 | |
240 | ||
241 | ################################################################################ | |
242 | # | |
243 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform | |
244 | # | |
245 | ################################################################################ | |
246 | ||
247 | [PcdsFeatureFlag.common] | |
248 | gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE | |
249 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE | |
250 | gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE | |
251 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE | |
252 | ||
253 | # | |
254 | # Control what commands are supported from the UI | |
255 | # Turn these on and off to add features or save size | |
256 | # | |
257 | gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE | |
258 | gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE | |
259 | gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE | |
260 | gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE | |
261 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE | |
262 | gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE | |
263 | gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE | |
264 | ||
265 | gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE | |
266 | ||
267 | # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress | |
268 | gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE | |
269 | ||
270 | gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE | |
271 | gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE | |
272 | ||
273 | gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE | |
274 | ||
275 | !if $(EDK2_ARMVE_STANDALONE) == 1 | |
276 | gArmPlatformTokenSpaceGuid.PcdStandalone|TRUE | |
277 | !endif | |
278 | ||
279 | !if $(EDK2_SKIP_PEICORE) == 1 | |
280 | gArmTokenSpaceGuid.PcdSkipPeiCore|TRUE | |
281 | !endif | |
282 | ||
936eff09 | 283 | |
284 | ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe. | |
285 | # It could be set FALSE to save size. | |
286 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE | |
287 | ||
1d5d0ae9 | 288 | [PcdsFixedAtBuild.common] |
ea46ebbe | 289 | gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Versatile Express" |
290 | ||
e6b3b508 | 291 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmVExpress" |
1d5d0ae9 | 292 | gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32 |
293 | gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0 | |
294 | gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000 | |
295 | gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000 | |
296 | gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000 | |
297 | gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000 | |
298 | gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF | |
299 | gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1 | |
300 | gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0 | |
301 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320 | |
302 | ||
303 | # DEBUG_ASSERT_ENABLED 0x01 | |
304 | # DEBUG_PRINT_ENABLED 0x02 | |
305 | # DEBUG_CODE_ENABLED 0x04 | |
306 | # CLEAR_MEMORY_ENABLED 0x08 | |
307 | # ASSERT_BREAKPOINT_ENABLED 0x10 | |
308 | # ASSERT_DEADLOOP_ENABLED 0x20 | |
309 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f | |
310 | ||
311 | # DEBUG_INIT 0x00000001 // Initialization | |
312 | # DEBUG_WARN 0x00000002 // Warnings | |
313 | # DEBUG_LOAD 0x00000004 // Load events | |
314 | # DEBUG_FS 0x00000008 // EFI File system | |
315 | # DEBUG_POOL 0x00000010 // Alloc & Free's | |
316 | # DEBUG_PAGE 0x00000020 // Alloc & Free's | |
317 | # DEBUG_INFO 0x00000040 // Verbose | |
318 | # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers | |
319 | # DEBUG_VARIABLE 0x00000100 // Variable | |
320 | # DEBUG_BM 0x00000400 // Boot Manager | |
321 | # DEBUG_BLKIO 0x00001000 // BlkIo Driver | |
322 | # DEBUG_NET 0x00004000 // SNI Driver | |
323 | # DEBUG_UNDI 0x00010000 // UNDI Driver | |
324 | # DEBUG_LOADFILE 0x00020000 // UNDI Driver | |
325 | # DEBUG_EVENT 0x00080000 // Event messages | |
326 | # DEBUG_ERROR 0x80000000 // Error | |
327 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F | |
328 | ||
329 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07 | |
330 | ||
6acb379f | 331 | # |
332 | # NV Storage PCDs. Use base of 0x43FC0000 for NOR0 or 0x47FC0000 for NOR1 on Versatile Express | |
333 | # | |
334 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x47FC0000 | |
335 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x00010000 | |
336 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x47FD0000 | |
337 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00010000 | |
338 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x47FE0000 | |
339 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00010000 | |
340 | ||
1d5d0ae9 | 341 | gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|"" |
342 | gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07 | |
343 | gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000 | |
344 | ||
345 | # | |
346 | # Optional feature to help prevent EFI memory map fragments | |
347 | # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob | |
348 | # Values are in EFI Pages (4K). DXE Core will make sure that | |
349 | # at least this much of each type of memory can be allocated | |
350 | # from a single memory range. This way you only end up with | |
351 | # maximum of two fragements for each type in the memory map | |
352 | # (the memory used, and the free memory that was prereserved | |
353 | # but not used). | |
354 | # | |
355 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0 | |
356 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0 | |
357 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0 | |
358 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|50 | |
359 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|20 | |
360 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400 | |
361 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000 | |
362 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20 | |
363 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0 | |
364 | ||
365 | gArmPlatformTokenSpaceGuid.PcdMPCoreSupport|1 | |
366 | gArmTokenSpaceGuid.PcdVFPEnabled|1 | |
367 | ||
368 | # Stacks for MPCores in Secure World | |
369 | gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x49E00000 # Top of SEC Stack for Secure World | |
370 | gArmPlatformTokenSpaceGuid.PcdCPUCoreSecStackSize|0x2000 # Stack for each of the 4 CPU cores | |
371 | ||
372 | # Stacks for MPCores in Monitor Mode | |
373 | gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x49D00000 # Top of SEC Stack for Monitor World | |
374 | gArmPlatformTokenSpaceGuid.PcdCPUCoreSecMonStackSize|0x2000 # Stack for each of the 4 CPU cores | |
375 | ||
376 | # Stacks for MPCores in Normal World | |
377 | gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackBase|0x48000000 # Top of SEC Stack for Normal World | |
378 | gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackSize|0x00020000 # Stack for each of the 4 CPU cores | |
1d5d0ae9 | 379 | |
964680c1 | 380 | |
381 | # System Memory (1GB) | |
382 | gArmTokenSpaceGuid.PcdSystemMemoryBase|0x60000000 | |
383 | gArmTokenSpaceGuid.PcdSystemMemorySize|0x40000000 | |
9d074e73 | 384 | |
385 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|1000000 | |
1d5d0ae9 | 386 | gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms |
1eb3454b | 387 | gArmPlatformTokenSpaceGuid.PcdSP804Timer0InterruptNum|34 |
1d5d0ae9 | 388 | |
389 | # | |
390 | # ARM Pcds | |
391 | # | |
392 | gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000 | |
393 | ||
394 | # | |
395 | # ARM PrimeCell | |
396 | # | |
397 | gArmTokenSpaceGuid.PcdPL180SysMciRegAddress|0x10000048 | |
398 | gArmTokenSpaceGuid.PcdPL180MciBaseAddress|0x10005000 | |
399 | ||
9dcfb8e5 | 400 | # |
401 | # ARM PL011 - Serial Terminal | |
402 | # | |
403 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10009000 | |
404 | gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|38400 | |
405 | ||
1d5d0ae9 | 406 | # |
407 | # ARM PL390 General Interrupt Controller | |
408 | # | |
409 | gArmTokenSpaceGuid.PcdGicDistributorBase|0x1e001000 | |
410 | gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x1e000100 | |
411 | ||
412 | # | |
413 | # ARM OS Loader | |
414 | # | |
415 | # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux: | |
416 | gArmTokenSpaceGuid.PcdArmMachineType|2272 | |
ea46ebbe | 417 | gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"NorFlash" |
418 | gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(1F15DA3C-37FF-4070-B471-BB4AF12A724A)/MemoryMapped(0x0,0x46000000,0x46400000)" | |
419 | gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|"rdinit=/bin/ash debug earlyprintk console=ttyAMA0,38400 mem=1G" | |
420 | gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1 | |
1d5d0ae9 | 421 | |
936eff09 | 422 | # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut) |
423 | gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi();VenHw(407B4008-BF5B-11DF-9547-CF16E0D72085)" | |
424 | gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi()" | |
425 | gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut|10 | |
426 | ||
1d5d0ae9 | 427 | # |
428 | # ARM L2x0 PCDs | |
429 | # | |
430 | gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1E00A000 | |
431 | ||
432 | # | |
433 | # ARM VE MP Core Mailbox | |
434 | # | |
435 | gArmTokenSpaceGuid.PcdMPCoreMailboxSetAddress|0x10000030 | |
436 | gArmTokenSpaceGuid.PcdMPCoreMailboxGetAddress|0x10000030 | |
437 | gArmTokenSpaceGuid.PcdMPCoreMailboxClearAddress|0x10000034 | |
438 | gArmTokenSpaceGuid.PcdMPCoreMailboxClearValue|0xFFFFFFFF | |
439 | ||
440 | ||
441 | ################################################################################ | |
442 | # | |
443 | # Components Section - list of all EDK II Modules needed by this Platform | |
444 | # | |
445 | ################################################################################ | |
446 | [Components.common] | |
447 | ||
448 | # | |
449 | # SEC | |
450 | # | |
451 | ArmPlatformPkg/Sec/Sec.inf | |
452 | ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf | |
453 | ||
454 | # | |
455 | # PEI Phase modules | |
456 | # | |
457 | MdeModulePkg/Core/Pei/PeiMain.inf | |
458 | MdeModulePkg/Universal/PCD/Pei/Pcd.inf { | |
459 | <LibraryClasses> | |
460 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf | |
461 | } | |
462 | ArmPlatformPkg/PlatformPei/PlatformPei.inf | |
463 | ArmPlatformPkg/MemoryInitPei/MemoryInitPei.inf | |
464 | IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf | |
465 | Nt32Pkg/BootModePei/BootModePei.inf | |
466 | MdeModulePkg/Universal/Variable/Pei/VariablePei.inf | |
467 | MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf { | |
468 | <LibraryClasses> | |
469 | NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf | |
470 | } | |
471 | ||
472 | # | |
473 | # DXE | |
474 | # | |
475 | MdeModulePkg/Core/Dxe/DxeMain.inf { | |
476 | <LibraryClasses> | |
477 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf | |
478 | NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf | |
479 | } | |
480 | ||
481 | # | |
482 | # Architectural Protocols | |
483 | # | |
484 | ArmPkg/Drivers/CpuDxe/CpuDxe.inf | |
485 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf | |
486 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf | |
1d5d0ae9 | 487 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf |
488 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf | |
489 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf | |
9d074e73 | 490 | MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf |
1d5d0ae9 | 491 | EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf |
492 | EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf | |
493 | EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf | |
936eff09 | 494 | |
495 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf | |
496 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf | |
497 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf | |
498 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf | |
499 | EmbeddedPkg/SerialDxe/SerialDxe.inf | |
1d5d0ae9 | 500 | |
501 | ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf | |
d5e12da4 | 502 | ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf |
1d5d0ae9 | 503 | ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf |
7d0f2f23 | 504 | ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf |
33e7c2ab | 505 | ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf |
1d5d0ae9 | 506 | |
507 | # | |
508 | # Semi-hosting filesystem | |
509 | # | |
510 | ArmPkg/Filesystem/SemihostFs/SemihostFs.inf | |
511 | ||
512 | # | |
513 | # Multimedia Card Interface | |
514 | # | |
ce73d60a | 515 | EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf |
1d5d0ae9 | 516 | ArmPkg/Drivers/PL180MciDxe/PL180MciDxe.inf |
517 | ||
518 | # | |
519 | # FAT filesystem + GPT/MBR partitioning | |
520 | # | |
521 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf | |
522 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf | |
523 | FatPkg/EnhancedFatDxe/Fat.inf | |
524 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf | |
525 | ||
526 | # | |
527 | # Application | |
528 | # | |
529 | EmbeddedPkg/Ebl/Ebl.inf | |
530 | ||
531 | # | |
532 | # Bds | |
533 | # | |
534 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf | |
535 | ArmPlatformPkg/Bds/Bds.inf |