]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPlatformPkg/ArmPlatformPkg.dsc
EmbeddedPkg: Added support to libfdt
[mirror_edk2.git] / ArmPlatformPkg / ArmPlatformPkg.dsc
CommitLineData
12fcdcb8 1#\r
ff4d6bb3 2# Copyright (c) 2011-2012, ARM Limited. All rights reserved.\r
12fcdcb8 3# \r
4# This program and the accompanying materials \r
5# are licensed and made available under the terms and conditions of the BSD License \r
6# which accompanies this distribution. The full text of the license may be found at \r
7# http://opensource.org/licenses/bsd-license.php \r
8#\r
9# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11#\r
12#\r
13################################################################################\r
14#\r
15# Defines Section - statements that will be processed to create a Makefile.\r
16#\r
17################################################################################\r
18[Defines]\r
19 PLATFORM_NAME = ArmPlatform\r
20 PLATFORM_GUID = 4fe82b83-9315-4ff3-8cc0-ab77ca93cb7f \r
21 PLATFORM_VERSION = 0.1\r
22 DSC_SPECIFICATION = 0x00010005\r
23 OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)\r
24 SUPPORTED_ARCHITECTURES = ARM\r
25 BUILD_TARGETS = DEBUG|RELEASE\r
26 SKUID_IDENTIFIER = DEFAULT\r
27 FLASH_DEFINITION = ArmPlatformPkg/ArmPlatformPkg.fdf\r
28\r
29[LibraryClasses.common]\r
30 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf\r
31 ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.inf\r
32 ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf\r
33\r
34!if $(TARGET) == RELEASE\r
35 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
36 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r
37!else\r
38 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
39 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r
40# UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf\r
41!endif\r
42 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
43 \r
44 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
45 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
46 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
47 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
48 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
49 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
50 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
51 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
52 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
53\r
54 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
55 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
56 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
57 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
58 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
59 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
60 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
61 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
62 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
63 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf \r
64\r
65 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
66\r
67 #\r
68 # Assume everything is fixed at build\r
69 #\r
70 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
71 \r
72 # 1/123 faster than Stm or Vstm version\r
73 #BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
74 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf\r
75\r
76 # ARM Architectural Libraries\r
77 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r
78 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r
793ae6ee 79 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf\r
12fcdcb8 80 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r
81 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf\r
12fcdcb8 82 ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf\r
83\r
84 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
85 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
86 EfiResetSystemLib|EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf\r
87 RealTimeClockLib|EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf\r
88\r
89 # EBL Related Libraries \r
90 EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf\r
91 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf\r
92 EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf\r
93 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf\r
94 \r
95 #\r
96 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window \r
97 # in the debugger will show load and unload commands for symbols. You can cut and paste this\r
98 # into the command window to load symbols. We should be able to use a script to do this, but\r
99 # the version of RVD I have does not support scripts accessing system memory.\r
100 #\r
101 #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r
102 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r
103 #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
104 \r
105 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
106 DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf\r
107\r
108 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf \r
109\r
110 # BDS Libraries\r
111 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf\r
fa4a7063 112 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r
12fcdcb8 113\r
114[LibraryClasses.common.SEC]\r
115 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf\r
e314d564 116 ArmPlatformSecLib|ArmPlatformPkg/Library/ArmPlatformSecLibNull/ArmPlatformLibNullSec.inf\r
12fcdcb8 117 ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNullSec.inf\r
8cc852f7 118 ArmTrustedMonitorLib|ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/ArmTrustedMonitorLibNull.inf\r
12fcdcb8 119\r
c7b7c445 120 ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf\r
12fcdcb8 121 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf\r
122 \r
123 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsOnlyLib/DebugAgentSymbolsOnlyLib.inf\r
124\r
125[LibraryClasses.common.PEI_CORE]\r
126 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
127 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
128 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
129 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
130 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
131 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
132 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
133 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
134 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
135 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
136 \r
137 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf\r
138 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
139 \r
140[LibraryClasses.common.PEIM]\r
141 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
142 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
143 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
144 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
145 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
146 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
147 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
148 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
149 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
150 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
151 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
152\r
153 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf\r
154 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
155\r
156[LibraryClasses.common.DXE_CORE]\r
157 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
158 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
159 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
160 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
161 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
162 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
163 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
164 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r
165\r
166[LibraryClasses.common.DXE_DRIVER]\r
167 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
168 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
169 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
170 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
171 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
172 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf\r
173\r
174[LibraryClasses.common.UEFI_APPLICATION]\r
175 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
176 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
177 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
178 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
179\r
180[LibraryClasses.common.UEFI_DRIVER]\r
181 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
182 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
183 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
184 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
185 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
186\r
187[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
188 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
189 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
190 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
191 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
192\r
193[LibraryClasses.ARM]\r
194 #\r
195 # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r
196 # This library provides the instrinsic functions generate by a given compiler.\r
197 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.\r
198 #\r
199 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
200\r
201[BuildOptions]\r
202 XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7\r
203\r
204 GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a\r
205\r
206 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A8\r
207\r
208################################################################################\r
209#\r
210# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
211#\r
212################################################################################\r
213\r
214[PcdsFeatureFlag.common]\r
215 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE\r
216 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE\r
217 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE\r
218 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE\r
219 \r
220 #\r
221 # Control what commands are supported from the UI\r
222 # Turn these on and off to add features or save size\r
223 # \r
224 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE\r
225 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE\r
226 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE\r
227 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE\r
228 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE\r
12fcdcb8 229 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE\r
230 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE\r
231\r
232 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE\r
233 \r
234 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress\r
235 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE\r
236 \r
237 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE\r
238 \r
239 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE\r
240\r
241[PcdsFixedAtBuild.common]\r
242 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Platform"\r
243 \r
244 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmPlatform"\r
245 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32\r
246 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0\r
247 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r
248 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r
249 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r
250 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r
251 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF\r
252 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1\r
253 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0\r
254 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r
255\r
256 # DEBUG_ASSERT_ENABLED 0x01\r
257 # DEBUG_PRINT_ENABLED 0x02\r
258 # DEBUG_CODE_ENABLED 0x04\r
259 # CLEAR_MEMORY_ENABLED 0x08\r
260 # ASSERT_BREAKPOINT_ENABLED 0x10\r
261 # ASSERT_DEADLOOP_ENABLED 0x20\r
262!if $(TARGET) == RELEASE\r
263 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21\r
264!else\r
265 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f\r
266!endif\r
267\r
268 # DEBUG_INIT 0x00000001 // Initialization\r
269 # DEBUG_WARN 0x00000002 // Warnings\r
270 # DEBUG_LOAD 0x00000004 // Load events\r
271 # DEBUG_FS 0x00000008 // EFI File system\r
272 # DEBUG_POOL 0x00000010 // Alloc & Free's\r
273 # DEBUG_PAGE 0x00000020 // Alloc & Free's\r
274 # DEBUG_INFO 0x00000040 // Verbose\r
275 # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers\r
276 # DEBUG_VARIABLE 0x00000100 // Variable\r
277 # DEBUG_BM 0x00000400 // Boot Manager\r
278 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
279 # DEBUG_NET 0x00004000 // SNI Driver\r
280 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
281 # DEBUG_LOADFILE 0x00020000 // UNDI Driver\r
282 # DEBUG_EVENT 0x00080000 // Event messages\r
283 # DEBUG_ERROR 0x80000000 // Error\r
284 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F\r
285\r
286 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
287\r
288 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""\r
289 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07\r
290 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000\r
291 \r
292 #\r
293 # Optional feature to help prevent EFI memory map fragments\r
294 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r
295 # Values are in EFI Pages (4K). DXE Core will make sure that \r
296 # at least this much of each type of memory can be allocated \r
297 # from a single memory range. This way you only end up with\r
298 # maximum of two fragements for each type in the memory map\r
299 # (the memory used, and the free memory that was prereserved\r
300 # but not used).\r
301 #\r
302 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0\r
303 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0\r
304 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0\r
305 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|50\r
306 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|20\r
307 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400\r
308 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000\r
309 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20\r
310 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0\r
311 \r
312 #\r
313 # ARM Pcds\r
314 #\r
315 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000\r
316 \r
317 # Stacks for MPCores in Secure World\r
318 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0\r
319 # Stacks for MPCores in Monitor Mode\r
320 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0\r
321 # Stacks for MPCores in Normal World\r
322 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0\r
323\r
324 gArmTokenSpaceGuid.PcdSystemMemoryBase|0\r
325 gArmTokenSpaceGuid.PcdSystemMemorySize|0\r
326\r
327################################################################################\r
328#\r
329# Components Section - list of all EDK II Modules needed by this Platform\r
330#\r
331################################################################################\r
332[Components.common]\r
333 \r
334 #\r
335 # SEC\r
336 #\r
f8181c90 337 ArmPlatformPkg/Sec/Sec.inf {\r
338 <LibraryClasses>\r
339 # Use the implementation which set the Secure bits\r
340 ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf\r
341 }\r
12fcdcb8 342 \r
343 #\r
344 # PEI Phase modules\r
345 #\r
346 ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf {\r
347 <LibraryClasses>\r
12fcdcb8 348 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf\r
349 }\r
350 MdeModulePkg/Core/Pei/PeiMain.inf\r
351 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
352 <LibraryClasses>\r
353 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
354 }\r
355 ArmPlatformPkg/PlatformPei/PlatformPeim.inf\r
356 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf\r
357 ArmPkg/Drivers/CpuPei/CpuPei.inf\r
358 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
359 Nt32Pkg/BootModePei/BootModePei.inf\r
360 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r
361 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {\r
362 <LibraryClasses>\r
363 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
364 }\r
365\r
366 #\r
367 # DXE\r
368 #\r
369 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
370 <LibraryClasses>\r
371 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
372 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r
373 }\r
374\r
375 #\r
376 # Architectural Protocols\r
377 #\r
378 ArmPkg/Drivers/CpuDxe/CpuDxe.inf \r
379 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
380 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
381 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
382 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
504d1460 383 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf\r
12fcdcb8 384 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf \r
385 \r
386 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r
387 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r
388 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf\r
389 \r
504d1460 390 # Simple TextIn/TextOut for UEFI Terminal\r
391 EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf\r
392 \r
12fcdcb8 393 #\r
394 # Semi-hosting filesystem\r
395 #\r
396 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf\r
397 \r
398 #\r
399 # FAT filesystem + GPT/MBR partitioning\r
400 #\r
401 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
402 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
403 FatPkg/EnhancedFatDxe/Fat.inf\r
404 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
405 \r
406 #\r
407 # Application\r
408 # \r
409 EmbeddedPkg/Ebl/Ebl.inf\r
410\r
411 #\r
412 # Bds\r
413 #\r
414 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
415 ArmPlatformPkg/Bds/Bds.inf\r
fa4a7063 416