]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
EmbeddedPkg: Introduced a separate SerialPortExtLib library
[mirror_edk2.git] / ArmPlatformPkg / ArmVExpressPkg / ArmVExpress.dsc.inc
1 #
2 # Copyright (c) 2011-2012, 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 [LibraryClasses.common]
15 !if $(TARGET) == RELEASE
16 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
17 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
18 !else
19 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
20 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
21 # UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
22 !endif
23 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
24
25 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
26 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
27 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
28 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
29 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
30 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
31 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
32 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
33 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
34
35 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
36 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
37 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
38 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
39 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
40 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
41 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
42 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
43 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
44 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
45
46 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
47
48 #
49 # Assume everything is fixed at build
50 #
51 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
52
53 # 1/123 faster than Stm or Vstm version
54 #BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
55 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
56
57 # ARM Architectural Libraries
58 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
59 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
60 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
61 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
62 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
63 ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
64 ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
65 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
66
67 # Versatile Express Specific Libraries
68 ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf
69 NorFlashPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf
70 EfiResetSystemLib|ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.inf
71 # ARM PL111 Lcd Driver
72 LcdPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpressLib.inf
73 # ARM PL031 RTC Driver
74 RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
75 # ARM PL354 SMC Driver
76 PL35xSmcLib|ArmPlatformPkg/Drivers/PL35xSmc/PL35xSmc.inf
77 # ARM PL011 UART Driver
78 PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf
79 SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
80 SerialPortExtLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortExtLib.inf
81 # ARM SP804 Dual Timer Driver
82 TimerLib|ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf
83
84 # EBL Related Libraries
85 EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf
86 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
87 EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf
88 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf
89
90 #
91 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
92 # in the debugger will show load and unload commands for symbols. You can cut and paste this
93 # into the command window to load symbols. We should be able to use a script to do this, but
94 # the version of RVD I have does not support scripts accessing system memory.
95 #
96 #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
97 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
98 #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
99
100 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
101 DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
102
103 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
104
105 # BDS Libraries
106 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
107 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
108
109 [LibraryClasses.common.SEC]
110 ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf
111 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf
112
113 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
114 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf
115
116 !ifdef $(EDK2_SKIP_PEICORE)
117 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
118 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
119 LzmaDecompressLib|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
120 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
121 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
122 PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
123 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
124 PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
125 MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
126 !endif
127
128 # Trustzone Support
129 ArmTrustedMonitorLib|ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/ArmTrustedMonitorLibNull.inf
130
131 [LibraryClasses.common.PEI_CORE]
132 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
133 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
134 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
135 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
136 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
137 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
138 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
139 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
140 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
141 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
142
143 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
144 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
145
146 [LibraryClasses.common.PEIM]
147 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
148 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
149 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
150 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
151 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
152 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
153 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
154 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
155 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
156 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
157 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
158
159 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
160 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
161
162 [LibraryClasses.common.DXE_CORE]
163 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
164 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
165 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
166 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
167 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
168 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
169 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
170 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
171
172 [LibraryClasses.common.DXE_DRIVER]
173 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
174 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
175 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
176 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
177 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
178 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf
179
180 [LibraryClasses.common.UEFI_APPLICATION]
181 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
182 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
183 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
184 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
185
186 [LibraryClasses.common.UEFI_DRIVER]
187 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
188 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
189 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
190 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
191 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
192 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
193
194 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
195 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
196 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
197 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
198 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
199
200 [LibraryClasses.ARM]
201 #
202 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
203 # This library provides the instrinsic functions generate by a given compiler.
204 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
205 #
206 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
207
208 [BuildOptions]
209 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
210
211 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
212
213 ################################################################################
214 #
215 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
216 #
217 ################################################################################
218
219 [PcdsFeatureFlag.common]
220 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
221 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
222 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
223 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
224
225 #
226 # Control what commands are supported from the UI
227 # Turn these on and off to add features or save size
228 #
229 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
230 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
231 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
232 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
233 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
234 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
235 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
236
237 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
238
239 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
240 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
241
242 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
243
244 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
245
246 [PcdsFixedAtBuild.common]
247 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Versatile Express"
248
249 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"VExpress"
250 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32
251 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0
252 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
253 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
254 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
255 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
256 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
257 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
258 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
259 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
260
261 # DEBUG_ASSERT_ENABLED 0x01
262 # DEBUG_PRINT_ENABLED 0x02
263 # DEBUG_CODE_ENABLED 0x04
264 # CLEAR_MEMORY_ENABLED 0x08
265 # ASSERT_BREAKPOINT_ENABLED 0x10
266 # ASSERT_DEADLOOP_ENABLED 0x20
267 !if $(TARGET) == RELEASE
268 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
269 !else
270 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
271 !endif
272
273 # DEBUG_INIT 0x00000001 // Initialization
274 # DEBUG_WARN 0x00000002 // Warnings
275 # DEBUG_LOAD 0x00000004 // Load events
276 # DEBUG_FS 0x00000008 // EFI File system
277 # DEBUG_POOL 0x00000010 // Alloc & Free's
278 # DEBUG_PAGE 0x00000020 // Alloc & Free's
279 # DEBUG_INFO 0x00000040 // Verbose
280 # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
281 # DEBUG_VARIABLE 0x00000100 // Variable
282 # DEBUG_BM 0x00000400 // Boot Manager
283 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
284 # DEBUG_NET 0x00004000 // SNI Driver
285 # DEBUG_UNDI 0x00010000 // UNDI Driver
286 # DEBUG_LOADFILE 0x00020000 // UNDI Driver
287 # DEBUG_EVENT 0x00080000 // Event messages
288 # DEBUG_ERROR 0x80000000 // Error
289 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
290
291 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
292
293 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
294 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
295 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
296
297 #
298 # Optional feature to help prevent EFI memory map fragments
299 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
300 # Values are in EFI Pages (4K). DXE Core will make sure that
301 # at least this much of each type of memory can be allocated
302 # from a single memory range. This way you only end up with
303 # maximum of two fragements for each type in the memory map
304 # (the memory used, and the free memory that was prereserved
305 # but not used).
306 #
307 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
308 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
309 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
310 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|50
311 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|20
312 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400
313 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000
314 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
315 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
316
317 #
318 # ARM Pcds
319 #
320 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000
321
322 #
323 # ARM PrimeCell
324 #
325
326 #
327 # ARM OS Loader
328 #
329 # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux:
330 gArmTokenSpaceGuid.PcdArmMachineType|2272
331 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from NorFlash"
332 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)/MemoryMapped(0x0,0xED000000,0xED400000)"
333 gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|""
334 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1
335
336 # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut)
337 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi();VenHw(CE660500-824D-11E0-AC72-0002A5D5C51B)"
338 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi()"
339 gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut|10
340