]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Copyright (c) 2011, ARM Limited. All rights reserved. | |
3 | # | |
4 | # This program and the accompanying materials | |
5 | # are licensed and made available under the terms and conditions of the BSD License | |
6 | # which accompanies this distribution. The full text of the license may be found at | |
7 | # http://opensource.org/licenses/bsd-license.php | |
8 | # | |
9 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, | |
10 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. | |
11 | # | |
12 | # | |
13 | ||
14 | ################################################################################ | |
15 | # | |
16 | # Defines Section - statements that will be processed to create a Makefile. | |
17 | # | |
18 | ################################################################################ | |
19 | [Defines] | |
20 | PLATFORM_NAME = ArmRealViewEb-RTSM-A9x2 | |
21 | PLATFORM_GUID = f6c2f4a0-2027-11e0-a2a1-0002a5d5c51b | |
22 | PLATFORM_VERSION = 0.1 | |
23 | DSC_SPECIFICATION = 0x00010005 | |
24 | OUTPUT_DIRECTORY = Build/ArmRealViewEb-RTSM-A9x2 | |
25 | SUPPORTED_ARCHITECTURES = ARM | |
26 | BUILD_TARGETS = DEBUG|RELEASE | |
27 | SKUID_IDENTIFIER = DEFAULT | |
28 | FLASH_DEFINITION = ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-MPCore.fdf | |
29 | ||
30 | [LibraryClasses.common] | |
31 | !if $(BUILD_TARGETS) == RELEASE | |
32 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf | |
33 | UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf | |
34 | !else | |
35 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf | |
36 | UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf | |
37 | # UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf | |
38 | !endif | |
39 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf | |
40 | ||
41 | ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLib.inf | |
42 | ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf | |
43 | ArmMPCoreMailBoxLib|ArmPkg/Library/ArmMPCoreMailBoxLib/ArmMPCoreMailBoxLib.inf | |
44 | ||
45 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf | |
46 | BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf | |
47 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf | |
48 | ||
49 | EfiResetSystemLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ResetSystemLib/ResetSystemLib.inf | |
50 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf | |
51 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf | |
52 | ||
53 | EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf | |
54 | EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf | |
55 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf | |
56 | ||
57 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf | |
58 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf | |
59 | ||
60 | # | |
61 | # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window | |
62 | # in the debugger will show load and unload commands for symbols. You can cut and paste this | |
63 | # into the command window to load symbols. We should be able to use a script to do this, but | |
64 | # the version of RVD I have does not support scripts accessing system memory. | |
65 | # | |
66 | # PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf | |
67 | PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf | |
68 | # PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf | |
69 | ||
70 | CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf | |
71 | DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf | |
72 | ||
73 | SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf | |
74 | ||
75 | RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf | |
76 | ||
77 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf | |
78 | ||
79 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf | |
80 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf | |
81 | ||
82 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf | |
83 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf | |
84 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf | |
85 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf | |
86 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf | |
87 | ||
88 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf | |
89 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf | |
90 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf | |
91 | ||
92 | # | |
93 | # Assume everything is fixed at build | |
94 | # | |
95 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf | |
96 | ||
97 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf | |
98 | ||
99 | EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf | |
100 | ||
101 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf | |
102 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf | |
103 | ||
104 | EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf | |
105 | ||
106 | ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf | |
107 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf | |
108 | DebugAgentTimerLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf | |
109 | ||
110 | SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf | |
111 | TimerLib|ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf | |
112 | GdbSerialLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/GdbSerialLib/GdbSerialLib.inf | |
113 | DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf | |
114 | ||
115 | # ARM PL011 UART Driver | |
116 | PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf | |
117 | ||
118 | BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf | |
119 | ||
120 | ArmPlatformSysConfigLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/SysConfigArmRealViewEbLib/SysConfigArmRealViewEbLib.inf | |
121 | NorFlashPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/NorFlashArmRealViewEbLib/NorFlashArmRealViewEbLib.inf | |
122 | LcdPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/PL111LcdArmRealViewEbLib/PL111LcdArmRealViewEbLib.inf | |
123 | ||
124 | [LibraryClasses.common.SEC] | |
125 | ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLibSec.inf | |
126 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf | |
127 | ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbSecLib.inf | |
128 | ||
129 | # 1/123 faster than Stm or Vstm version | |
130 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf | |
131 | ||
132 | # Uncomment to turn on GDB stub in SEC. | |
133 | #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf | |
134 | ||
135 | # L2 Cache Driver | |
136 | L2X0CacheLib|ArmPkg/Library/L2X0CacheLibNull/L2X0CacheLibNull.inf | |
137 | # ARM PL390 General Interrupt Driver in Secure and Non-secure | |
138 | PL390GicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSec.inf | |
139 | PL390GicNonSecLib|ArmPkg/Drivers/PL390Gic/PL390GicNonSec.inf | |
140 | ||
141 | [LibraryClasses.common.PEI_CORE] | |
142 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf | |
143 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf | |
144 | # note: this won't actually work since globals in PEI are not writeable | |
145 | # need to generate an ARM PEI services table pointer implementation | |
146 | PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf | |
147 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf | |
148 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf | |
149 | PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf | |
150 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf | |
151 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf | |
152 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf | |
153 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf | |
154 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf | |
155 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf | |
156 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf | |
157 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf | |
158 | ||
159 | [LibraryClasses.common.PEIM] | |
160 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf | |
161 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf | |
162 | # note: this won't actually work since globals in PEI are not writeable | |
163 | # need to generate an ARM PEI services table pointer implementation | |
164 | PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf | |
165 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf | |
166 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf | |
167 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf | |
168 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf | |
169 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf | |
170 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf | |
171 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf | |
172 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf | |
173 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf | |
174 | PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf | |
175 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf | |
176 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf | |
177 | ||
178 | [LibraryClasses.common.DXE_CORE] | |
179 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf | |
180 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf | |
181 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf | |
182 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
183 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf | |
184 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf | |
185 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf | |
186 | ||
187 | PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf | |
188 | ||
189 | ||
190 | [LibraryClasses.common.DXE_DRIVER] | |
191 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
192 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf | |
193 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf | |
194 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf | |
195 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
196 | ||
197 | ||
198 | [LibraryClasses.common.UEFI_APPLICATION] | |
199 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
200 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf | |
201 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf | |
202 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
203 | ||
204 | [LibraryClasses.common.UEFI_DRIVER] | |
205 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
206 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf | |
207 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf | |
208 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf | |
209 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
210 | ||
211 | [LibraryClasses.common.DXE_RUNTIME_DRIVER] | |
212 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf | |
213 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
214 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf | |
215 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf | |
216 | # PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf | |
217 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
218 | ||
219 | [LibraryClasses.ARM] | |
220 | # | |
221 | # It is not possible to prevent the ARM compiler for generic intrinsic functions. | |
222 | # This library provides the instrinsic functions generate by a given compiler. | |
223 | # [LibraryClasses.ARM] and NULL mean link this library into all ARM images. | |
224 | # | |
225 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf | |
226 | ||
227 | [BuildOptions] | |
228 | RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A9 --thumb --fpu=softvfp -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform | |
229 | RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A9 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform | |
230 | RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform | |
231 | ||
232 | GCC:*_*_ARM_ARCHCC_FLAGS == -march=armv7-a -mthumb -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform | |
233 | GCC:*_*_ARM_ARCHASM_FLAGS == -march=armv7-a -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform | |
234 | GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform | |
235 | ||
236 | XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv7 -march=armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform | |
237 | XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform | |
238 | XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform | |
239 | XCODE:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform | |
240 | ||
241 | ||
242 | ################################################################################ | |
243 | # | |
244 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform | |
245 | # | |
246 | ################################################################################ | |
247 | ||
248 | [PcdsFeatureFlag.common] | |
249 | gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE | |
250 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE | |
251 | gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE | |
252 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE | |
253 | ||
254 | gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE | |
255 | ||
256 | # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress | |
257 | gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE | |
258 | ||
259 | gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE | |
260 | ||
261 | gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE | |
262 | ||
263 | gArmPlatformTokenSpaceGuid.PcdStandalone|TRUE | |
264 | ||
265 | !if $(EDK2_SKIP_PEICORE) == 1 | |
266 | gArmTokenSpaceGuid.PcdSkipPeiCore|TRUE | |
267 | !endif | |
268 | ||
269 | ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe. | |
270 | # It could be set FALSE to save size. | |
271 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE | |
272 | ||
273 | [PcdsFixedAtBuild.common] | |
274 | gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM RealView Emulation Board" | |
275 | ||
276 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmRealViewEb-A9x2" | |
277 | gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32 | |
278 | gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0 | |
279 | gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000 | |
280 | gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000 | |
281 | gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000 | |
282 | gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000 | |
283 | gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF | |
284 | gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1 | |
285 | gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0 | |
286 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320 | |
287 | ||
288 | # DEBUG_ASSERT_ENABLED 0x01 | |
289 | # DEBUG_PRINT_ENABLED 0x02 | |
290 | # DEBUG_CODE_ENABLED 0x04 | |
291 | # CLEAR_MEMORY_ENABLED 0x08 | |
292 | # ASSERT_BREAKPOINT_ENABLED 0x10 | |
293 | # ASSERT_DEADLOOP_ENABLED 0x20 | |
294 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f | |
295 | ||
296 | # DEBUG_INIT 0x00000001 // Initialization | |
297 | # DEBUG_WARN 0x00000002 // Warnings | |
298 | # DEBUG_LOAD 0x00000004 // Load events | |
299 | # DEBUG_FS 0x00000008 // EFI File system | |
300 | # DEBUG_POOL 0x00000010 // Alloc & Free's | |
301 | # DEBUG_PAGE 0x00000020 // Alloc & Free's | |
302 | # DEBUG_INFO 0x00000040 // Verbose | |
303 | # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers | |
304 | # DEBUG_VARIABLE 0x00000100 // Variable | |
305 | # DEBUG_BM 0x00000400 // Boot Manager | |
306 | # DEBUG_BLKIO 0x00001000 // BlkIo Driver | |
307 | # DEBUG_NET 0x00004000 // SNI Driver | |
308 | # DEBUG_UNDI 0x00010000 // UNDI Driver | |
309 | # DEBUG_LOADFILE 0x00020000 // UNDI Driver | |
310 | # DEBUG_EVENT 0x00080000 // Event messages | |
311 | # DEBUG_ERROR 0x80000000 // Error | |
312 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F | |
313 | ||
314 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07 | |
315 | ||
316 | # | |
317 | # NV Storage PCDs. Use base of 0x43F00000 for NOR0 | |
318 | # | |
319 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x43F00000 | |
320 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x000C0000 | |
321 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x43FC0000 | |
322 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00020000 | |
323 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x43FE0000 | |
324 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00020000 | |
325 | ||
326 | gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|"" | |
327 | gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07 | |
328 | gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000 | |
329 | ||
330 | # | |
331 | # Optional feature to help prevent EFI memory map fragments | |
332 | # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob | |
333 | # Values are in EFI Pages (4K). DXE Core will make sure that | |
334 | # at least this much of each type of memory can be allocated | |
335 | # from a single memory range. This way you only end up with | |
336 | # maximum of two fragements for each type in the memory map | |
337 | # (the memory used, and the free memory that was prereserved | |
338 | # but not used). | |
339 | # | |
340 | gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x00000000 | |
341 | ||
342 | gArmPlatformTokenSpaceGuid.PcdMPCoreSupport|1 | |
343 | ||
344 | # Stacks for MPCores in Secure World | |
345 | gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x4B000000 # Top of SEC Stack for Secure World | |
346 | gArmPlatformTokenSpaceGuid.PcdCPUCoreSecStackSize|0x2000 # Stack for each of the 4 CPU cores | |
347 | ||
348 | # Stacks for MPCores in Monitor Mode | |
349 | gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x4A000000 # Top of SEC Stack for Monitor World | |
350 | gArmPlatformTokenSpaceGuid.PcdCPUCoreSecMonStackSize|0x2000 # Stack for each of the 4 CPU cores | |
351 | ||
352 | # Stacks for MPCores in Normal World | |
353 | gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackBase|0x48000000 # Top of SEC Stack for Normal World | |
354 | gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackSize|0x20000 # Stack for each of the 4 CPU cores | |
355 | ||
356 | # Non Sec UEFI Firmware: These two PCDs must match PcdFlashFvMainBase/PcdFlashFvMainSize | |
357 | gArmTokenSpaceGuid.PcdNormalFdBaseAddress|0x40050000 # Must be equal to gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase | |
358 | gArmTokenSpaceGuid.PcdNormalFdSize|0x00100000 # Must be equal to gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize | |
359 | ||
360 | # System Memory (256MB) | |
361 | gArmTokenSpaceGuid.PcdSystemMemoryBase|0x70000000 | |
362 | gArmTokenSpaceGuid.PcdSystemMemorySize|0x10000000 | |
363 | ||
364 | # Size of the region used by UEFI in permanent memory (Reserved 64MB) | |
365 | gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000 | |
366 | ||
367 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|1000000 | |
368 | gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms | |
369 | gArmPlatformTokenSpaceGuid.PcdSP804Timer0InterruptNum|33 | |
370 | ||
371 | # | |
372 | # ARM Pcds | |
373 | # | |
374 | gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000 | |
375 | ||
376 | # | |
377 | # ARM EB PCDS | |
378 | # | |
379 | gArmRealViewEbPkgTokenSpaceGuid.PcdGdbUartBase|0x1000a000 | |
380 | ||
381 | # | |
382 | # ARM PL011 - Serial Terminal | |
383 | # | |
384 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10009000 | |
385 | ||
386 | # | |
387 | # ARM PL390 General Interrupt Controller | |
388 | # | |
389 | gArmTokenSpaceGuid.PcdGicDistributorBase|0x10041000 | |
390 | gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x10040000 | |
391 | gArmTokenSpaceGuid.PcdGicNumInterrupts|96 | |
392 | ||
393 | # | |
394 | # ARM OS Loader | |
395 | # | |
396 | gArmTokenSpaceGuid.PcdArmMachineType|827 | |
397 | gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"SemiHosting" | |
398 | gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/zImage" | |
399 | gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|"rdinit=/bin/ash debug earlyprintk console=ttyAMA0,38400 mem=128M" | |
400 | gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1 | |
401 | ||
402 | # Use the Serial console (ConIn & ConOut) and the Graphic driver (ConOut) | |
403 | gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi();VenHw(407B4008-BF5B-11DF-9547-CF16E0D72085)" | |
404 | gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi()" | |
405 | gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut|10 | |
406 | ||
407 | # | |
408 | # ARM L2x0 PCDs | |
409 | # | |
410 | gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1F002000 | |
411 | ||
412 | # | |
413 | # ARM VE MP Core Mailbox | |
414 | # | |
415 | gArmTokenSpaceGuid.PcdMPCoreMailboxSetAddress|0x10000030 | |
416 | gArmTokenSpaceGuid.PcdMPCoreMailboxGetAddress|0x10000030 | |
417 | gArmTokenSpaceGuid.PcdMPCoreMailboxClearAddress|0x10000034 | |
418 | gArmTokenSpaceGuid.PcdMPCoreMailboxClearValue|0xFFFFFFFF | |
419 | ||
420 | ||
421 | ################################################################################ | |
422 | # | |
423 | # Components Section - list of all EDK II Modules needed by this Platform | |
424 | # | |
425 | ################################################################################ | |
426 | [Components.common] | |
427 | ||
428 | # | |
429 | # SEC | |
430 | # | |
431 | ArmPlatformPkg/Sec/Sec.inf | |
432 | ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf | |
433 | ||
434 | # | |
435 | # PEI Phase modules | |
436 | # | |
437 | MdeModulePkg/Core/Pei/PeiMain.inf | |
438 | MdeModulePkg/Universal/PCD/Pei/Pcd.inf { | |
439 | <LibraryClasses> | |
440 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf | |
441 | } | |
442 | ArmPlatformPkg/PlatformPei/PlatformPei.inf | |
443 | ArmPlatformPkg/MemoryInitPei/MemoryInitPei.inf | |
444 | IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf | |
445 | Nt32Pkg/BootModePei/BootModePei.inf | |
446 | MdeModulePkg/Universal/Variable/Pei/VariablePei.inf | |
447 | MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf { | |
448 | <LibraryClasses> | |
449 | NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf | |
450 | } | |
451 | ||
452 | # | |
453 | # DXE | |
454 | # | |
455 | MdeModulePkg/Core/Dxe/DxeMain.inf { | |
456 | <LibraryClasses> | |
457 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf | |
458 | NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf | |
459 | } | |
460 | ||
461 | # | |
462 | # Architectural Protocols | |
463 | # | |
464 | ArmPkg/Drivers/CpuDxe/CpuDxe.inf | |
465 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf | |
466 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf | |
467 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf | |
468 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf | |
469 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf | |
470 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf | |
471 | EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf | |
472 | ||
473 | EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf | |
474 | EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf | |
475 | EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf | |
476 | ||
477 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf | |
478 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf | |
479 | ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf | |
480 | ||
481 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf | |
482 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf | |
483 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf | |
484 | EmbeddedPkg/SerialDxe/SerialDxe.inf | |
485 | ||
486 | ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf | |
487 | ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf | |
488 | ||
489 | ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf | |
490 | ||
491 | # | |
492 | # Semi-hosting filesystem | |
493 | # | |
494 | ArmPkg/Filesystem/SemihostFs/SemihostFs.inf | |
495 | ||
496 | # | |
497 | # FAT filesystem + GPT/MBR partitioning | |
498 | # | |
499 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf | |
500 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf | |
501 | FatPkg/EnhancedFatDxe/Fat.inf | |
502 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf | |
503 | ||
504 | ||
505 | # | |
506 | # Application | |
507 | # | |
508 | EmbeddedPkg/Ebl/Ebl.inf | |
509 | ||
510 | # | |
511 | # Bds | |
512 | # | |
513 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf | |
514 | ArmPlatformPkg/Bds/Bds.inf |