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