blob: 014714632221e175fdf716393e7fca99b21e5ec7 [file] [log] [blame]
oliviermartin12fcdcb2011-09-27 16:40:46 +00001#
Ronald Cron04f1a702015-02-26 10:54:39 +00002# Copyright (c) 2011-2015, ARM Limited. All rights reserved.
oliviermartin12fcdcb2011-09-27 16:40:46 +00003#
Olivier Martinfebad022014-08-20 11:38:45 +00004# 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.
oliviermartin12fcdcb2011-09-27 16:40:46 +000011#
12#
13################################################################################
14#
15# Defines Section - statements that will be processed to create a Makefile.
16#
17################################################################################
18[Defines]
19 PLATFORM_NAME = ArmPlatform
Ronald Cron3402aac2014-08-19 13:29:52 +000020 PLATFORM_GUID = 4fe82b83-9315-4ff3-8cc0-ab77ca93cb7f
oliviermartin12fcdcb2011-09-27 16:40:46 +000021 PLATFORM_VERSION = 0.1
22 DSC_SPECIFICATION = 0x00010005
23 OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
Harry Liebel1bc83262013-07-18 19:06:52 +000024 SUPPORTED_ARCHITECTURES = ARM|AARCH64
oliviermartin12fcdcb2011-09-27 16:40:46 +000025 BUILD_TARGETS = DEBUG|RELEASE
26 SKUID_IDENTIFIER = DEFAULT
27 FLASH_DEFINITION = ArmPlatformPkg/ArmPlatformPkg.fdf
28
29[LibraryClasses.common]
oliviermartin12fcdcb2011-09-27 16:40:46 +000030 ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf
31
32!if $(TARGET) == RELEASE
33 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
34 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
35!else
36 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
37 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
38# UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
39!endif
40 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +000041
oliviermartin12fcdcb2011-09-27 16:40:46 +000042 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
43 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
44 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
45 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
46 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
47 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
48 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
49 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
50 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
51
52 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
53 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
54 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
55 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
56 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
57 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
58 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
59 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
60 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +000061 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
oliviermartin12fcdcb2011-09-27 16:40:46 +000062
63 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
64
65 #
66 # Assume everything is fixed at build
67 #
68 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
Ronald Cron3402aac2014-08-19 13:29:52 +000069
oliviermartin12fcdcb2011-09-27 16:40:46 +000070 # 1/123 faster than Stm or Vstm version
71 #BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
72 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
73
74 # ARM Architectural Libraries
75 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
76 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
oliviermartin793ae6e2012-03-15 16:03:41 +000077 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
oliviermartin12fcdcb2011-09-27 16:40:46 +000078 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
79 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
Olivier Martin017baa12013-10-29 06:36:34 +000080 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
oliviermartinbc87b502013-03-12 00:56:37 +000081 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
oliviermartin12fcdcb2011-09-27 16:40:46 +000082
83 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
84 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
85 EfiResetSystemLib|EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf
86 RealTimeClockLib|EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf
87
Ronald Cron8bf4ad42014-07-15 09:25:57 +000088 # Networking Requirements for ArmPlatformPkg/Bds
89 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
90
Ronald Cron0ead5ec2015-07-14 14:32:24 +000091 # These libraries are used by the dynamic EFI Shell commands
92 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
93 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
94 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
95
Ronald Cron8bf4ad42014-07-15 09:25:57 +000096 # EBL Related Libraries
oliviermartin12fcdcb2011-09-27 16:40:46 +000097 EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf
98 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
99 EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf
100 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf
Ronald Cron8bf4ad42014-07-15 09:25:57 +0000101
oliviermartin12fcdcb2011-09-27 16:40:46 +0000102 #
Ronald Cron3402aac2014-08-19 13:29:52 +0000103 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
oliviermartin12fcdcb2011-09-27 16:40:46 +0000104 # in the debugger will show load and unload commands for symbols. You can cut and paste this
105 # into the command window to load symbols. We should be able to use a script to do this, but
106 # the version of RVD I have does not support scripts accessing system memory.
107 #
108 #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
109 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
110 #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000111
oliviermartin12fcdcb2011-09-27 16:40:46 +0000112 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
113 DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
114
Ronald Cron3402aac2014-08-19 13:29:52 +0000115 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
oliviermartin12fcdcb2011-09-27 16:40:46 +0000116
117 # BDS Libraries
118 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
oliviermartinfa4a7062012-09-27 16:53:57 +0000119 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
oliviermartin12fcdcb2011-09-27 16:40:46 +0000120
Harry Liebel1bc83262013-07-18 19:06:52 +0000121[LibraryClasses.ARM]
122 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
123 ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.inf
124
125[LibraryClasses.AARCH64]
126 ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64Lib.inf
127 ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexAEMv8Lib/ArmCortexAEMv8Lib.inf
Ard Biesheuvel4f6d34b2014-09-09 16:10:18 +0000128 ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
Harry Liebel1bc83262013-07-18 19:06:52 +0000129
oliviermartin12fcdcb2011-09-27 16:40:46 +0000130[LibraryClasses.common.SEC]
oliviermartine314d562012-05-02 20:13:32 +0000131 ArmPlatformSecLib|ArmPlatformPkg/Library/ArmPlatformSecLibNull/ArmPlatformLibNullSec.inf
oliviermartin12fcdcb2011-09-27 16:40:46 +0000132 ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNullSec.inf
oliviermartin8cc852f2012-02-28 17:27:15 +0000133 ArmTrustedMonitorLib|ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/ArmTrustedMonitorLibNull.inf
oliviermartin12fcdcb2011-09-27 16:40:46 +0000134
oliviermartinc7b7c442011-12-14 10:39:07 +0000135 ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf
oliviermartin12fcdcb2011-09-27 16:40:46 +0000136 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000137
oliviermartin9d6b0242012-09-28 09:52:11 +0000138 DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
oliviermartinc3adcc92013-01-25 12:02:59 +0000139 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf
oliviermartin12fcdcb2011-09-27 16:40:46 +0000140
Ard Biesheuveld94a48c2015-04-14 11:52:55 +0000141[LibraryClasses.common.SEC, LibraryClasses.common.PEIM]
142 MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
143
Harry Liebel1bc83262013-07-18 19:06:52 +0000144[LibraryClasses.ARM.SEC]
145 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf
146
147[LibraryClasses.AARCH64.SEC]
148 ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64LibSec.inf
149
oliviermartin12fcdcb2011-09-27 16:40:46 +0000150[LibraryClasses.common.PEI_CORE]
151 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
152 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
153 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
154 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
155 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
156 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
157 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
158 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
159 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
160 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000161
oliviermartin12fcdcb2011-09-27 16:40:46 +0000162 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
163 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000164
oliviermartin12fcdcb2011-09-27 16:40:46 +0000165[LibraryClasses.common.PEIM]
166 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
167 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
168 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
169 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
170 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
171 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
172 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
173 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
174 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
175 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
176 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
177
178 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
179 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
Ard Biesheuvele0a14132014-09-16 00:56:50 +0000180 PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
oliviermartin12fcdcb2011-09-27 16:40:46 +0000181
182[LibraryClasses.common.DXE_CORE]
183 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
184 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
185 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
186 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
187 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
188 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
189 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
190 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
191
192[LibraryClasses.common.DXE_DRIVER]
193 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
194 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
195 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
196 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
197 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
198 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf
199
200[LibraryClasses.common.UEFI_APPLICATION]
201 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
202 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
203 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
204 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
205
206[LibraryClasses.common.UEFI_DRIVER]
207 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
208 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
209 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
210 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
211 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
212
213[LibraryClasses.common.DXE_RUNTIME_DRIVER]
214 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
215 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
216 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
217 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
218
Olivier Martin olivier.martinbd1d0622014-08-20 18:01:50 +0000219[LibraryClasses.ARM, LibraryClasses.AARCH64]
oliviermartin12fcdcb2011-09-27 16:40:46 +0000220 #
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
Olivier Martin olivier.martinbd1d0622014-08-20 18:01:50 +0000227 # Add support for GCC stack protector
228 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
Harry Liebel1bc83262013-07-18 19:06:52 +0000229
oliviermartin12fcdcb2011-09-27 16:40:46 +0000230[BuildOptions]
231 XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7
232
233 GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a
234
235 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A8
236
237################################################################################
238#
239# Pcd Section - list of all EDK II PCD Entries defined by this Platform
240#
241################################################################################
242
243[PcdsFeatureFlag.common]
244 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
245 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
246 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
247 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
Ronald Cron3402aac2014-08-19 13:29:52 +0000248
oliviermartin12fcdcb2011-09-27 16:40:46 +0000249 #
250 # Control what commands are supported from the UI
251 # Turn these on and off to add features or save size
Ronald Cron3402aac2014-08-19 13:29:52 +0000252 #
oliviermartin12fcdcb2011-09-27 16:40:46 +0000253 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
254 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
255 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
256 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
257 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
oliviermartin12fcdcb2011-09-27 16:40:46 +0000258 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
259 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
260
261 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
Ronald Cron3402aac2014-08-19 13:29:52 +0000262
oliviermartin12fcdcb2011-09-27 16:40:46 +0000263 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
264 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
Ronald Cron3402aac2014-08-19 13:29:52 +0000265
oliviermartin12fcdcb2011-09-27 16:40:46 +0000266 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
Ronald Cron3402aac2014-08-19 13:29:52 +0000267
oliviermartin12fcdcb2011-09-27 16:40:46 +0000268 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
269
270[PcdsFixedAtBuild.common]
271 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Platform"
Ronald Cron3402aac2014-08-19 13:29:52 +0000272
oliviermartin12fcdcb2011-09-27 16:40:46 +0000273 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmPlatform"
oliviermartin12fcdcb2011-09-27 16:40:46 +0000274 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
275 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
276 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
277 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
278 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
279 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
280 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
281 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
282
283 # DEBUG_ASSERT_ENABLED 0x01
284 # DEBUG_PRINT_ENABLED 0x02
285 # DEBUG_CODE_ENABLED 0x04
286 # CLEAR_MEMORY_ENABLED 0x08
287 # ASSERT_BREAKPOINT_ENABLED 0x10
288 # ASSERT_DEADLOOP_ENABLED 0x20
289!if $(TARGET) == RELEASE
290 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
291!else
292 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
293!endif
294
295 # DEBUG_INIT 0x00000001 // Initialization
296 # DEBUG_WARN 0x00000002 // Warnings
297 # DEBUG_LOAD 0x00000004 // Load events
298 # DEBUG_FS 0x00000008 // EFI File system
299 # DEBUG_POOL 0x00000010 // Alloc & Free's
300 # DEBUG_PAGE 0x00000020 // Alloc & Free's
301 # DEBUG_INFO 0x00000040 // Verbose
302 # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
303 # DEBUG_VARIABLE 0x00000100 // Variable
304 # DEBUG_BM 0x00000400 // Boot Manager
305 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
306 # DEBUG_NET 0x00004000 // SNI Driver
307 # DEBUG_UNDI 0x00010000 // UNDI Driver
308 # DEBUG_LOADFILE 0x00020000 // UNDI Driver
309 # DEBUG_EVENT 0x00080000 // Event messages
310 # DEBUG_ERROR 0x80000000 // Error
311 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
312
313 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
314
315 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
316 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
317 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
Ronald Cron3402aac2014-08-19 13:29:52 +0000318
oliviermartin12fcdcb2011-09-27 16:40:46 +0000319 #
320 # Optional feature to help prevent EFI memory map fragments
321 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
Ronald Cron3402aac2014-08-19 13:29:52 +0000322 # Values are in EFI Pages (4K). DXE Core will make sure that
323 # at least this much of each type of memory can be allocated
oliviermartin12fcdcb2011-09-27 16:40:46 +0000324 # from a single memory range. This way you only end up with
325 # maximum of two fragements for each type in the memory map
326 # (the memory used, and the free memory that was prereserved
327 # but not used).
328 #
329 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
330 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
331 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
332 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|50
333 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|20
334 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400
335 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000
336 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
337 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
Ronald Cron3402aac2014-08-19 13:29:52 +0000338
Ronald Cron0ead5ec2015-07-14 14:32:24 +0000339 # We want to use the Shell Libraries but don't want it to initialise
340 # automatically. We initialise the libraries when the command is called by the
341 # Shell.
342 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
343
oliviermartin12fcdcb2011-09-27 16:40:46 +0000344 #
345 # ARM Pcds
346 #
347 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000
Ronald Cron3402aac2014-08-19 13:29:52 +0000348
oliviermartin12fcdcb2011-09-27 16:40:46 +0000349 # Stacks for MPCores in Secure World
350 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0
351 # Stacks for MPCores in Monitor Mode
352 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0
353 # Stacks for MPCores in Normal World
354 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0
355
356 gArmTokenSpaceGuid.PcdSystemMemoryBase|0
357 gArmTokenSpaceGuid.PcdSystemMemorySize|0
358
359################################################################################
360#
361# Components Section - list of all EDK II Modules needed by this Platform
362#
363################################################################################
364[Components.common]
Ronald Cron3402aac2014-08-19 13:29:52 +0000365
oliviermartin12fcdcb2011-09-27 16:40:46 +0000366 #
367 # SEC
368 #
oliviermartinf8181c92012-05-02 20:19:00 +0000369 ArmPlatformPkg/Sec/Sec.inf {
370 <LibraryClasses>
371 # Use the implementation which set the Secure bits
Olivier Martin017baa12013-10-29 06:36:34 +0000372 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf
oliviermartinf8181c92012-05-02 20:19:00 +0000373 }
Ronald Cron3402aac2014-08-19 13:29:52 +0000374
oliviermartin12fcdcb2011-09-27 16:40:46 +0000375 #
376 # PEI Phase modules
377 #
378 ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf {
379 <LibraryClasses>
oliviermartin12fcdcb2011-09-27 16:40:46 +0000380 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
381 }
382 MdeModulePkg/Core/Pei/PeiMain.inf
383 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
384 <LibraryClasses>
385 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
386 }
387 ArmPlatformPkg/PlatformPei/PlatformPeim.inf
388 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
389 ArmPkg/Drivers/CpuPei/CpuPei.inf
390 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
391 Nt32Pkg/BootModePei/BootModePei.inf
392 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
393 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
394 <LibraryClasses>
Olivier Martin9435a572015-04-08 19:58:50 +0000395 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
oliviermartin12fcdcb2011-09-27 16:40:46 +0000396 }
397
398 #
399 # DXE
400 #
401 MdeModulePkg/Core/Dxe/DxeMain.inf {
402 <LibraryClasses>
403 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
404 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
405 }
406
407 #
408 # Architectural Protocols
409 #
Ronald Cron3402aac2014-08-19 13:29:52 +0000410 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
oliviermartin12fcdcb2011-09-27 16:40:46 +0000411 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
412 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
413 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
414 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
oliviermartin504d1462011-11-01 23:40:49 +0000415 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000416 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
417
oliviermartin12fcdcb2011-09-27 16:40:46 +0000418 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
419 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
420 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000421
oliviermartin504d1462011-11-01 23:40:49 +0000422 # Simple TextIn/TextOut for UEFI Terminal
423 EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000424
oliviermartin12fcdcb2011-09-27 16:40:46 +0000425 #
426 # Semi-hosting filesystem
427 #
428 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000429
oliviermartin12fcdcb2011-09-27 16:40:46 +0000430 #
431 # FAT filesystem + GPT/MBR partitioning
432 #
433 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
434 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
oliviermartin12fcdcb2011-09-27 16:40:46 +0000435 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000436
oliviermartin12fcdcb2011-09-27 16:40:46 +0000437 #
438 # Application
Ronald Cron3402aac2014-08-19 13:29:52 +0000439 #
oliviermartin12fcdcb2011-09-27 16:40:46 +0000440 EmbeddedPkg/Ebl/Ebl.inf
441
442 #
443 # Bds
444 #
445 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
446 ArmPlatformPkg/Bds/Bds.inf
Ronald Cron0ead5ec2015-07-14 14:32:24 +0000447
448 # Legacy Linux Loader
449 ArmPkg/Application/LinuxLoader/LinuxLoader.inf