]>
Commit | Line | Data |
---|---|---|
4103bc94 | 1 | #\r |
fa14cfc9 | 2 | # Copyright (c) 2011-2015, ARM Limited. All rights reserved.\r |
e860f74e | 3 | # Copyright (c) 2015, Intel Corporation. All rights reserved.\r |
4103bc94 | 4 | #\r |
3402aac7 RC |
5 | # This program and the accompanying materials\r |
6 | # are licensed and made available under the terms and conditions of the BSD License\r | |
7 | # which accompanies this distribution. The full text of the license may be found at\r | |
8 | # http://opensource.org/licenses/bsd-license.php\r | |
9 | #\r | |
10 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
4103bc94 | 12 | #\r |
13 | #\r | |
14 | \r | |
15 | [LibraryClasses.common]\r | |
16 | !if $(TARGET) == RELEASE\r | |
17 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r | |
18 | UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r | |
19 | !else\r | |
20 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
21 | UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r | |
22 | # UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf\r | |
23 | !endif\r | |
24 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r | |
3402aac7 | 25 | \r |
4103bc94 | 26 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r |
27 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r | |
28 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r | |
29 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
30 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
31 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r | |
32 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r | |
33 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
34 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r | |
35 | \r | |
36 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r | |
37 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
38 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r | |
39 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
40 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r | |
41 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r | |
42 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r | |
43 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r | |
44 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
3402aac7 | 45 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r |
4103bc94 | 46 | \r |
47 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r | |
48 | \r | |
49 | #\r | |
50 | # Assume everything is fixed at build\r | |
51 | #\r | |
52 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
3402aac7 | 53 | \r |
4103bc94 | 54 | # 1/123 faster than Stm or Vstm version\r |
55 | #BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
56 | BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf\r | |
57 | \r | |
1eee8f37 RH |
58 | # Networking Requirements\r |
59 | NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r | |
60 | DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r | |
61 | UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r | |
62 | IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r | |
63 | \r | |
4103bc94 | 64 | # ARM Architectural Libraries\r |
65 | CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r | |
66 | DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r | |
793ae6ee | 67 | CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf\r |
4103bc94 | 68 | ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r |
69 | DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf\r | |
017baa1c | 70 | ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r |
17839a45 | 71 | ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf\r |
166c01fb | 72 | ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r |
4f6d34b4 | 73 | ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf\r |
4103bc94 | 74 | \r |
75 | # Versatile Express Specific Libraries\r | |
e0a1413d | 76 | PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf\r |
4103bc94 | 77 | ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf\r |
78 | NorFlashPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf\r | |
79 | EfiResetSystemLib|ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.inf\r | |
80 | # ARM PL111 Lcd Driver\r | |
81 | LcdPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpressLib.inf\r | |
82 | # ARM PL031 RTC Driver\r | |
83 | RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf\r | |
84 | # ARM PL354 SMC Driver\r | |
85 | PL35xSmcLib|ArmPlatformPkg/Drivers/PL35xSmc/PL35xSmc.inf\r | |
86 | # ARM PL011 UART Driver\r | |
87 | PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf\r | |
88 | SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf\r | |
d38c35f9 | 89 | SerialPortExtLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortExtLib.inf\r |
4103bc94 | 90 | # ARM SP804 Dual Timer Driver\r |
91 | TimerLib|ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf\r | |
92 | \r | |
3402aac7 | 93 | # EBL Related Libraries\r |
4103bc94 | 94 | EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf\r |
95 | EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf\r | |
96 | EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf\r | |
97 | EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf\r | |
3402aac7 | 98 | \r |
4103bc94 | 99 | #\r |
3402aac7 | 100 | # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window\r |
4103bc94 | 101 | # in the debugger will show load and unload commands for symbols. You can cut and paste this\r |
102 | # into the command window to load symbols. We should be able to use a script to do this, but\r | |
103 | # the version of RVD I have does not support scripts accessing system memory.\r | |
104 | #\r | |
105 | #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r | |
106 | PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r | |
107 | #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r | |
3402aac7 | 108 | \r |
4103bc94 | 109 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r |
110 | DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf\r | |
111 | \r | |
3402aac7 | 112 | SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf\r |
4103bc94 | 113 | \r |
114 | # BDS Libraries\r | |
115 | BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf\r | |
05e56470 OM |
116 | \r |
117 | AcpiLib|EmbeddedPkg/Library/AcpiLib/AcpiLib.inf\r | |
0a6653bc | 118 | FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r |
4103bc94 | 119 | \r |
ced216f8 HL |
120 | # RunAxf support via Dynamic Shell Command protocol\r |
121 | # It uses the Shell libraries.\r | |
122 | ArmShellCmdRunAxfLib|ArmPlatformPkg/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.inf\r | |
123 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r | |
fa14cfc9 OM |
124 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r |
125 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r | |
ced216f8 | 126 | \r |
e860f74e SZ |
127 | TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r |
128 | AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r | |
129 | \r | |
4103bc94 | 130 | [LibraryClasses.common.SEC]\r |
c7b7c445 | 131 | ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf\r |
4103bc94 | 132 | ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf\r |
3402aac7 | 133 | \r |
9d6b024d | 134 | DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf\r |
619b3998 | 135 | DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf\r |
3402aac7 | 136 | \r |
4103bc94 | 137 | !ifdef $(EDK2_SKIP_PEICORE)\r |
138 | PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r | |
139 | ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r | |
9435a57e | 140 | LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r |
4103bc94 | 141 | MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf\r |
142 | HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf\r | |
143 | PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf\r | |
144 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r | |
4103bc94 | 145 | !endif\r |
146 | \r | |
8cc852f7 | 147 | # Trustzone Support\r |
148 | ArmTrustedMonitorLib|ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/ArmTrustedMonitorLibNull.inf\r | |
149 | \r | |
4103bc94 | 150 | [LibraryClasses.common.PEI_CORE]\r |
151 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
152 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
153 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
154 | PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r | |
155 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r | |
156 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r | |
157 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r | |
158 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
159 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
160 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r | |
3402aac7 | 161 | \r |
4103bc94 | 162 | ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf\r |
163 | PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r | |
3402aac7 | 164 | \r |
4103bc94 | 165 | [LibraryClasses.common.PEIM]\r |
166 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
167 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
168 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
169 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r | |
170 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r | |
171 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r | |
172 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r | |
173 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
174 | PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r | |
175 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
176 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r | |
177 | \r | |
178 | ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf\r | |
179 | PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r | |
180 | \r | |
d94a48c7 AB |
181 | [LibraryClasses.common.SEC, LibraryClasses.common.PEIM]\r |
182 | MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf\r | |
183 | \r | |
4103bc94 | 184 | [LibraryClasses.common.DXE_CORE]\r |
185 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r | |
186 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r | |
187 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r | |
188 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r | |
189 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r | |
190 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
191 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r | |
192 | PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r | |
193 | \r | |
194 | [LibraryClasses.common.DXE_DRIVER]\r | |
195 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r | |
196 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r | |
197 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r | |
198 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
199 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
200 | ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf\r | |
201 | \r | |
202 | [LibraryClasses.common.UEFI_APPLICATION]\r | |
203 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r | |
204 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
205 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
206 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
207 | \r | |
208 | [LibraryClasses.common.UEFI_DRIVER]\r | |
209 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r | |
210 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r | |
211 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r | |
212 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
a08dcb2a | 213 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r |
4103bc94 | 214 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r |
215 | \r | |
216 | [LibraryClasses.common.DXE_RUNTIME_DRIVER]\r | |
217 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
218 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
219 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r | |
220 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r | |
c889bf28 | 221 | ArmPlatformSysConfigLib|ArmPlatformPkg/Library/ArmPlatformSysConfigLibNull/ArmPlatformSysConfigLibNull.inf\r |
4103bc94 | 222 | \r |
7b99da9b AB |
223 | #\r |
224 | # PSCI support in EL3 may not be available if we are not running under a PSCI\r | |
225 | # compliant secure firmware, but since the default VExpress EfiResetSystemLib\r | |
226 | # cannot be supported at runtime (due to the fact that the syscfg MMIO registers\r | |
227 | # cannot be runtime remapped), it is our best bet to get ResetSystem functionality\r | |
228 | # on these platforms.\r | |
229 | #\r | |
230 | EfiResetSystemLib|ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf\r | |
231 | \r | |
bd1d0628 | 232 | [LibraryClasses.ARM, LibraryClasses.AARCH64]\r |
4103bc94 | 233 | #\r |
234 | # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r | |
235 | # This library provides the instrinsic functions generate by a given compiler.\r | |
236 | # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.\r | |
237 | #\r | |
238 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r | |
239 | \r | |
bd1d0628 OM |
240 | # Add support for GCC stack protector\r |
241 | NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r | |
27be3601 HL |
242 | \r |
243 | \r | |
4103bc94 | 244 | [BuildOptions]\r |
245 | RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r | |
246 | \r | |
247 | GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r | |
248 | \r | |
249 | ################################################################################\r | |
250 | #\r | |
251 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform\r | |
252 | #\r | |
253 | ################################################################################\r | |
254 | \r | |
255 | [PcdsFeatureFlag.common]\r | |
256 | gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE\r | |
257 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE\r | |
258 | gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE\r | |
259 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE\r | |
3402aac7 | 260 | \r |
4103bc94 | 261 | #\r |
262 | # Control what commands are supported from the UI\r | |
263 | # Turn these on and off to add features or save size\r | |
3402aac7 | 264 | #\r |
4103bc94 | 265 | gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE\r |
266 | gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE\r | |
267 | gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE\r | |
268 | gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE\r | |
269 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE\r | |
270 | gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE\r | |
271 | gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE\r | |
272 | \r | |
273 | gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE\r | |
3402aac7 | 274 | \r |
4103bc94 | 275 | # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress\r |
276 | gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE\r | |
3402aac7 | 277 | \r |
4103bc94 | 278 | gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE\r |
3402aac7 | 279 | \r |
4103bc94 | 280 | gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE\r |
281 | \r | |
282 | [PcdsFixedAtBuild.common]\r | |
283 | gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Versatile Express"\r | |
0b7c0607 LL |
284 | !ifdef $(FIRMWARE_VER)\r |
285 | gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(FIRMWARE_VER)"\r | |
286 | !endif\r | |
3402aac7 | 287 | \r |
4103bc94 | 288 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"VExpress"\r |
4103bc94 | 289 | gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r |
290 | gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r | |
291 | gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r | |
292 | gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r | |
293 | gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF\r | |
294 | gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1\r | |
295 | gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0\r | |
296 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r | |
297 | \r | |
298 | # DEBUG_ASSERT_ENABLED 0x01\r | |
299 | # DEBUG_PRINT_ENABLED 0x02\r | |
300 | # DEBUG_CODE_ENABLED 0x04\r | |
301 | # CLEAR_MEMORY_ENABLED 0x08\r | |
302 | # ASSERT_BREAKPOINT_ENABLED 0x10\r | |
303 | # ASSERT_DEADLOOP_ENABLED 0x20\r | |
304 | !if $(TARGET) == RELEASE\r | |
305 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21\r | |
306 | !else\r | |
307 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f\r | |
308 | !endif\r | |
309 | \r | |
310 | # DEBUG_INIT 0x00000001 // Initialization\r | |
311 | # DEBUG_WARN 0x00000002 // Warnings\r | |
312 | # DEBUG_LOAD 0x00000004 // Load events\r | |
313 | # DEBUG_FS 0x00000008 // EFI File system\r | |
314 | # DEBUG_POOL 0x00000010 // Alloc & Free's\r | |
315 | # DEBUG_PAGE 0x00000020 // Alloc & Free's\r | |
316 | # DEBUG_INFO 0x00000040 // Verbose\r | |
317 | # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers\r | |
318 | # DEBUG_VARIABLE 0x00000100 // Variable\r | |
319 | # DEBUG_BM 0x00000400 // Boot Manager\r | |
320 | # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r | |
321 | # DEBUG_NET 0x00004000 // SNI Driver\r | |
322 | # DEBUG_UNDI 0x00010000 // UNDI Driver\r | |
323 | # DEBUG_LOADFILE 0x00020000 // UNDI Driver\r | |
324 | # DEBUG_EVENT 0x00080000 // Event messages\r | |
4ca88ec7 OM |
325 | # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r |
326 | # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r | |
4103bc94 | 327 | # DEBUG_ERROR 0x80000000 // Error\r |
328 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F\r | |
329 | \r | |
330 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r | |
331 | \r | |
332 | gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""\r | |
333 | gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07\r | |
334 | gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000\r | |
3402aac7 | 335 | \r |
4103bc94 | 336 | #\r |
337 | # Optional feature to help prevent EFI memory map fragments\r | |
338 | # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r | |
3402aac7 RC |
339 | # Values are in EFI Pages (4K). DXE Core will make sure that\r |
340 | # at least this much of each type of memory can be allocated\r | |
4103bc94 | 341 | # from a single memory range. This way you only end up with\r |
342 | # maximum of two fragements for each type in the memory map\r | |
343 | # (the memory used, and the free memory that was prereserved\r | |
344 | # but not used).\r | |
345 | #\r | |
346 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0\r | |
347 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0\r | |
348 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0\r | |
a78167a6 OM |
349 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|80\r |
350 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|65\r | |
4103bc94 | 351 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400\r |
352 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000\r | |
353 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20\r | |
354 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0\r | |
81f29156 OM |
355 | \r |
356 | # Device path of block device on which Android Fastboot should flash\r | |
357 | # partitions. We just use the SD card on VExpress.\r | |
358 | gArmVExpressTokenSpaceGuid.PcdAndroidFastbootNvmDevicePath|L"VenHw(09831032-6FA3-4484-AF4F-0A000A8D3A82)"\r | |
359 | \r | |
4103bc94 | 360 | #\r |
361 | # ARM Pcds\r | |
362 | #\r | |
363 | gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000\r | |
81f29156 | 364 | \r |
4103bc94 | 365 | #\r |
366 | # ARM PrimeCell\r | |
367 | #\r | |
368 | \r | |
94e0955d OM |
369 | #\r |
370 | # FileSystem\r | |
371 | #\r | |
372 | \r | |
373 | # List of Device Paths that support BootMonFs\r | |
80ae6291 | 374 | gArmPlatformTokenSpaceGuid.PcdBootMonFsSupportedDevicePaths|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59);VenHw(1F15DA3C-37FF-4070-B471-BB4AF12A724A)"\r |
94e0955d | 375 | \r |
4103bc94 | 376 | #\r |
377 | # ARM OS Loader\r | |
378 | #\r | |
3402aac7 | 379 | # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux:\r |
4103bc94 | 380 | gArmTokenSpaceGuid.PcdArmMachineType|2272\r |
381 | gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from NorFlash"\r | |
382 | gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)/MemoryMapped(0x0,0xED000000,0xED400000)"\r | |
4103bc94 | 383 | gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1\r |
3402aac7 | 384 | \r |
4103bc94 | 385 | # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut)\r |
386 | gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi();VenHw(CE660500-824D-11E0-AC72-0002A5D5C51B)"\r | |
387 | gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi()"\r | |
db1b9ea0 | 388 | gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|10\r |
4103bc94 | 389 | \r |
ced216f8 HL |
390 | # RunAxf support via Dynamic Shell Command protocol\r |
391 | # We want to use the Shell Libraries but don't want it to initialise\r | |
392 | # automatically. We initialise the libraries when the command is called by the\r | |
393 | # Shell.\r | |
394 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
395 | \r | |
94e0955d | 396 | [Components.common]\r |
04f1a709 RC |
397 | MdeModulePkg/Universal/PCD/Dxe/Pcd.inf\r |
398 | \r | |
94e0955d OM |
399 | # Versatile Express FileSystem\r |
400 | ArmPlatformPkg/FileSystem/BootMonFs/BootMonFs.inf\r | |
1eee8f37 RH |
401 | \r |
402 | #\r | |
403 | # Networking stack\r | |
404 | #\r | |
405 | MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r | |
406 | MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r | |
407 | MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r | |
408 | MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf\r | |
409 | MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r | |
410 | MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r | |
411 | MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r | |
412 | MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r | |
413 | MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r | |
414 | MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r | |
415 | MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r | |
416 | MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r | |
417 | \r | |
4257aa4d OM |
418 | # ISP1761 USB OTG Controller\r |
419 | EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.inf\r | |
81f29156 OM |
420 | \r |
421 | #\r | |
422 | # Android Fastboot\r | |
423 | #\r | |
424 | EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.inf\r | |
425 | EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsbDxe.inf\r | |
426 | ArmPlatformPkg/ArmVExpressPkg/ArmVExpressFastBootDxe/ArmVExpressFastBootDxe.inf\r | |
901b4516 OM |
427 | \r |
428 | # FV Filesystem\r | |
429 | MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf\r | |
cae7af27 RC |
430 | \r |
431 | #\r | |
432 | # FDT installation\r | |
433 | #\r | |
434 | EmbeddedPkg/Drivers/FdtPlatformDxe/FdtPlatformDxe.inf\r |