]>
Commit | Line | Data |
---|---|---|
1d5d0ae9 | 1 | #\r |
2 | # Copyright (c) 2011, ARM Limited. All rights reserved.\r | |
3 | # \r | |
4 | # This program and the accompanying materials \r | |
5 | # are licensed and made available under the terms and conditions of the BSD License \r | |
6 | # which accompanies this distribution. The full text of the license may be found at \r | |
7 | # http://opensource.org/licenses/bsd-license.php \r | |
8 | #\r | |
9 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | #\r | |
12 | #\r | |
13 | \r | |
14 | ################################################################################\r | |
15 | #\r | |
16 | # Defines Section - statements that will be processed to create a Makefile.\r | |
17 | #\r | |
18 | ################################################################################\r | |
19 | [Defines]\r | |
20 | PLATFORM_NAME = ArmRealViewEbPkg\r | |
21 | PLATFORM_GUID = F4C1AD3E-9D3E-4F61-8791-B3BB1C43D04C\r | |
22 | PLATFORM_VERSION = 0.1\r | |
23 | DSC_SPECIFICATION = 0x00010005\r | |
24 | OUTPUT_DIRECTORY = Build/ArmRealViewEb-RTSM-A8\r | |
25 | SUPPORTED_ARCHITECTURES = ARM\r | |
26 | BUILD_TARGETS = DEBUG|RELEASE\r | |
27 | SKUID_IDENTIFIER = DEFAULT\r | |
28 | FLASH_DEFINITION = ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-UniCore.fdf\r | |
29 | \r | |
30 | [LibraryClasses.common]\r | |
31 | !if $(BUILD_TARGETS) == RELEASE\r | |
32 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r | |
33 | UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r | |
34 | !else\r | |
35 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
36 | UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r | |
37 | # UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf\r | |
38 | !endif\r | |
a54d2109 | 39 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r |
1d5d0ae9 | 40 | \r |
41 | ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf\r | |
42 | ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf\r | |
43 | \r | |
44 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r | |
45 | BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf\r | |
a89cb4b7 | 46 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r |
1d5d0ae9 | 47 | \r |
48 | EfiResetSystemLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ResetSystemLib/ResetSystemLib.inf\r | |
49 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r | |
50 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
51 | \r | |
52 | EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf\r | |
53 | EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf\r | |
54 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
55 | \r | |
936eff09 | 56 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r |
57 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r | |
58 | \r | |
1d5d0ae9 | 59 | #\r |
60 | # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window \r | |
61 | # in the debugger will show load and unload commands for symbols. You can cut and paste this\r | |
62 | # into the command window to load symbols. We should be able to use a script to do this, but\r | |
63 | # the version of RVD I have does not support scripts accessing system memory.\r | |
64 | #\r | |
65 | # PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r | |
66 | PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r | |
67 | # PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r | |
68 | \r | |
69 | CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r | |
70 | DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r | |
71 | \r | |
72 | SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf\r | |
73 | \r | |
74 | RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf\r | |
75 | \r | |
76 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r | |
77 | \r | |
78 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
79 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r | |
80 | \r | |
81 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r | |
82 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
83 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r | |
84 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
85 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r | |
86 | \r | |
87 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r | |
88 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r | |
89 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r | |
90 | \r | |
91 | #\r | |
92 | # Assume everything is fixed at build\r | |
93 | #\r | |
94 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
95 | \r | |
96 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r | |
97 | \r | |
98 | EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf\r | |
99 | \r | |
100 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r | |
101 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
102 | \r | |
103 | EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf\r | |
104 | \r | |
105 | ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r | |
106 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r | |
107 | DebugAgentTimerLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf\r | |
108 | \r | |
109 | SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf\r | |
110 | TimerLib|ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf \r | |
111 | GdbSerialLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/GdbSerialLib/GdbSerialLib.inf\r | |
112 | DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf\r | |
113 | \r | |
9dcfb8e5 | 114 | # ARM PL011 UART Driver\r |
115 | PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf\r | |
116 | \r | |
1d5d0ae9 | 117 | BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf\r |
a89cb4b7 | 118 | \r |
d355ba48 | 119 | ArmPlatformSysConfigLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/SysConfigArmRealViewEbLib/SysConfigArmRealViewEbLib.inf\r |
a89cb4b7 | 120 | NorFlashPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/NorFlashArmRealViewEbLib/NorFlashArmRealViewEbLib.inf\r |
9bc6ef02 | 121 | LcdPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/PL111LcdArmRealViewEbLib/PL111LcdArmRealViewEbLib.inf\r |
1d5d0ae9 | 122 | \r |
123 | [LibraryClasses.common.SEC]\r | |
124 | ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf\r | |
1d5d0ae9 | 125 | ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbSecLib.inf\r |
9d074e73 | 126 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r |
1d5d0ae9 | 127 | \r |
128 | # 1/123 faster than Stm or Vstm version\r | |
129 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
130 | \r | |
131 | # Uncomment to turn on GDB stub in SEC. \r | |
132 | #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf\r | |
133 | \r | |
134 | # L2 Cache Driver\r | |
135 | L2X0CacheLib|ArmPkg/Library/L2X0CacheLibNull/L2X0CacheLibNull.inf\r | |
136 | # ARM PL390 General Interrupt Driver in Secure and Non-secure\r | |
137 | PL390GicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSec.inf\r | |
138 | \r | |
64e03133 | 139 | !if $(EDK2_SKIP_PEICORE) == 1\r |
140 | PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r | |
141 | ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r | |
142 | LzmaDecompressLib|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r | |
143 | MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf\r | |
144 | HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf\r | |
145 | PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf\r | |
146 | PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf\r | |
147 | MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf\r | |
148 | !endif\r | |
149 | \r | |
1d5d0ae9 | 150 | [LibraryClasses.common.PEI_CORE]\r |
151 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
152 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
153 | # note: this won't actually work since globals in PEI are not writeable\r | |
154 | # need to generate an ARM PEI services table pointer implementation\r | |
155 | PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r | |
156 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
157 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
158 | PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r | |
159 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r | |
160 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r | |
161 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r | |
162 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
1d5d0ae9 | 163 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r |
164 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r | |
165 | \r | |
166 | [LibraryClasses.common.PEIM]\r | |
167 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
168 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
169 | # note: this won't actually work since globals in PEI are not writeable\r | |
170 | # need to generate an ARM PEI services table pointer implementation\r | |
171 | PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r | |
172 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
173 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
174 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r | |
175 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r | |
176 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r | |
177 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r | |
178 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
1d5d0ae9 | 179 | PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r |
180 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
181 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r | |
182 | \r | |
183 | [LibraryClasses.common.DXE_CORE]\r | |
184 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r | |
185 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r | |
186 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r | |
187 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r | |
188 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r | |
189 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
190 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r | |
1d5d0ae9 | 191 | PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r |
1d5d0ae9 | 192 | \r |
193 | [LibraryClasses.common.DXE_DRIVER]\r | |
194 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r | |
195 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r | |
196 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r | |
197 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
198 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
199 | \r | |
1d5d0ae9 | 200 | [LibraryClasses.common.UEFI_APPLICATION]\r |
201 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r | |
202 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r | |
203 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
204 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
205 | \r | |
206 | [LibraryClasses.common.UEFI_DRIVER]\r | |
207 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r | |
208 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r | |
209 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r | |
210 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
211 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
212 | \r | |
213 | [LibraryClasses.common.DXE_RUNTIME_DRIVER]\r | |
214 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
215 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
216 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r | |
217 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r | |
1d5d0ae9 | 218 | \r |
219 | [LibraryClasses.ARM]\r | |
220 | #\r | |
221 | # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r | |
222 | # This library provides the instrinsic functions generate by a given compiler.\r | |
223 | # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.\r | |
224 | #\r | |
225 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r | |
226 | \r | |
227 | [BuildOptions]\r | |
228 | RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A8 --thumb --fpu=softvfp -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r | |
229 | RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A8 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r | |
230 | RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r | |
231 | \r | |
232 | GCC:*_*_ARM_ARCHCC_FLAGS == -march=armv7-a -mthumb -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform \r | |
233 | GCC:*_*_ARM_ARCHASM_FLAGS == -march=armv7-a -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r | |
234 | GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r | |
235 | \r | |
236 | XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv7 -march=armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r | |
237 | XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r | |
238 | XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r | |
239 | XCODE:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r | |
240 | \r | |
241 | \r | |
242 | ################################################################################\r | |
243 | #\r | |
244 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform\r | |
245 | #\r | |
246 | ################################################################################\r | |
247 | \r | |
248 | [PcdsFeatureFlag.common]\r | |
249 | gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE\r | |
250 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE\r | |
251 | gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE\r | |
252 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE\r | |
253 | \r | |
254 | gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE\r | |
255 | \r | |
256 | # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress\r | |
257 | gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE\r | |
258 | \r | |
259 | gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE\r | |
260 | \r | |
261 | gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE\r | |
1d5d0ae9 | 262 | \r |
263 | !if $(EDK2_SKIP_PEICORE) == 1\r | |
264 | gArmTokenSpaceGuid.PcdSkipPeiCore|TRUE\r | |
265 | !endif\r | |
266 | \r | |
936eff09 | 267 | ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.\r |
268 | # It could be set FALSE to save size.\r | |
269 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r | |
270 | \r | |
1d5d0ae9 | 271 | [PcdsFixedAtBuild.common]\r |
ea46ebbe | 272 | gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM RealView Emulation Board"\r |
273 | \r | |
e6b3b508 | 274 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmRealViewEb-A8"\r |
1d5d0ae9 | 275 | gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32\r |
276 | gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0\r | |
277 | gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r | |
278 | gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r | |
279 | gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r | |
280 | gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r | |
281 | gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF\r | |
282 | gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1\r | |
283 | gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0\r | |
284 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r | |
285 | \r | |
286 | # DEBUG_ASSERT_ENABLED 0x01\r | |
287 | # DEBUG_PRINT_ENABLED 0x02\r | |
288 | # DEBUG_CODE_ENABLED 0x04\r | |
289 | # CLEAR_MEMORY_ENABLED 0x08\r | |
290 | # ASSERT_BREAKPOINT_ENABLED 0x10\r | |
291 | # ASSERT_DEADLOOP_ENABLED 0x20\r | |
292 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f\r | |
293 | \r | |
294 | # DEBUG_INIT 0x00000001 // Initialization\r | |
295 | # DEBUG_WARN 0x00000002 // Warnings\r | |
296 | # DEBUG_LOAD 0x00000004 // Load events\r | |
297 | # DEBUG_FS 0x00000008 // EFI File system\r | |
298 | # DEBUG_POOL 0x00000010 // Alloc & Free's\r | |
299 | # DEBUG_PAGE 0x00000020 // Alloc & Free's\r | |
300 | # DEBUG_INFO 0x00000040 // Verbose\r | |
301 | # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers\r | |
302 | # DEBUG_VARIABLE 0x00000100 // Variable\r | |
303 | # DEBUG_BM 0x00000400 // Boot Manager\r | |
304 | # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r | |
305 | # DEBUG_NET 0x00004000 // SNI Driver\r | |
306 | # DEBUG_UNDI 0x00010000 // UNDI Driver\r | |
307 | # DEBUG_LOADFILE 0x00020000 // UNDI Driver\r | |
308 | # DEBUG_EVENT 0x00080000 // Event messages\r | |
309 | # DEBUG_ERROR 0x80000000 // Error\r | |
310 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F\r | |
311 | \r | |
312 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r | |
a89cb4b7 | 313 | \r |
314 | #\r | |
315 | # NV Storage PCDs. Use base of 0x43F00000 for NOR0\r | |
316 | #\r | |
317 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x43F00000\r | |
318 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x000C0000\r | |
319 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x43FC0000\r | |
320 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00020000\r | |
321 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x43FE0000\r | |
322 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00020000\r | |
1d5d0ae9 | 323 | \r |
324 | gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""\r | |
325 | gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07\r | |
326 | gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000\r | |
327 | \r | |
328 | #\r | |
329 | # Optional feature to help prevent EFI memory map fragments\r | |
330 | # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r | |
331 | # Values are in EFI Pages (4K). DXE Core will make sure that \r | |
332 | # at least this much of each type of memory can be allocated \r | |
333 | # from a single memory range. This way you only end up with\r | |
334 | # maximum of two fragements for each type in the memory map\r | |
335 | # (the memory used, and the free memory that was prereserved\r | |
336 | # but not used).\r | |
337 | #\r | |
338 | gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x00000000\r | |
339 | \r | |
bf72cf33 | 340 | gArmPlatformTokenSpaceGuid.PcdStandalone|1\r |
341 | \r | |
1d5d0ae9 | 342 | # Stack for CPU Cores in Secure Mode\r |
343 | gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x4B000000 # Top of SEC Stack for Secure World\r | |
344 | gArmPlatformTokenSpaceGuid.PcdCPUCoreSecStackSize|0x2000 # Size of SEC Stack for Secure World\r | |
345 | \r | |
346 | # Stack for CPU Cores in Secure Monitor Mode\r | |
347 | gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x4A000000 # Top of SEC Stack for Monitor World\r | |
348 | gArmPlatformTokenSpaceGuid.PcdCPUCoreSecMonStackSize|0x2000 # Size of SEC Stack for Monitor World\r | |
349 | \r | |
350 | # Stack for CPU Cores in Non Secure Mode\r | |
351 | gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackBase|0x48000000 # Top of SEC Stack for Normal World\r | |
352 | gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackSize|0x20000 # Size of SEC Stack for Normal World\r | |
1d5d0ae9 | 353 | \r |
964680c1 | 354 | # System Memory (256MB) \r |
355 | gArmTokenSpaceGuid.PcdSystemMemoryBase|0x70000000\r | |
356 | gArmTokenSpaceGuid.PcdSystemMemorySize|0x10000000\r | |
357 | \r | |
358 | # Size of the region used by UEFI in permanent memory (Reserved 64MB)\r | |
359 | gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000\r | |
360 | \r | |
6fd231c0 | 361 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|1000000\r |
1d5d0ae9 | 362 | gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms\r |
1eb3454b | 363 | gArmPlatformTokenSpaceGuid.PcdSP804Timer0InterruptNum|36\r |
1d5d0ae9 | 364 | \r |
365 | #\r | |
366 | # ARM Pcds\r | |
367 | #\r | |
368 | gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000\r | |
369 | \r | |
370 | #\r | |
371 | # ARM EB PCDS\r | |
372 | #\r | |
373 | gArmRealViewEbPkgTokenSpaceGuid.PcdGdbUartBase|0x1000a000\r | |
374 | \r | |
6fd231c0 | 375 | #\r |
376 | # ARM PL011 - Serial Terminal\r | |
377 | #\r | |
378 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10009000\r | |
379 | \r | |
1d5d0ae9 | 380 | #\r |
381 | # ARM PL390 General Interrupt Controller\r | |
382 | #\r | |
383 | gArmTokenSpaceGuid.PcdGicDistributorBase|0x10041000\r | |
384 | gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x10040000\r | |
55fad965 | 385 | gArmTokenSpaceGuid.PcdGicNumInterrupts|96\r |
1d5d0ae9 | 386 | \r |
387 | #\r | |
388 | # ARM OS Loader\r | |
389 | #\r | |
ea46ebbe | 390 | gArmTokenSpaceGuid.PcdArmMachineType|827\r |
391 | gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"SemiHosting"\r | |
392 | gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/zImage-RTSM"\r | |
393 | gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|"rdinit=/bin/ash debug earlyprintk console=ttyAMA0,38400 mem=128M"\r | |
394 | gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1\r | |
1d5d0ae9 | 395 | \r |
936eff09 | 396 | # Use the Serial console (ConIn & ConOut) and the Graphic driver (ConOut)\r |
397 | gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi();VenHw(407B4008-BF5B-11DF-9547-CF16E0D72085)"\r | |
398 | gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi()"\r | |
399 | gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut|10\r | |
400 | \r | |
1d5d0ae9 | 401 | #\r |
402 | # ARM L2x0 PCDs\r | |
403 | #\r | |
404 | gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1F002000\r | |
405 | \r | |
406 | \r | |
407 | \r | |
408 | ################################################################################\r | |
409 | #\r | |
410 | # Components Section - list of all EDK II Modules needed by this Platform\r | |
411 | #\r | |
412 | ################################################################################\r | |
413 | [Components.common]\r | |
414 | \r | |
415 | #\r | |
416 | # SEC\r | |
417 | #\r | |
418 | ArmPlatformPkg/Sec/Sec.inf\r | |
1d5d0ae9 | 419 | \r |
420 | #\r | |
421 | # PEI Phase modules\r | |
422 | #\r | |
64e03133 | 423 | !if $(EDK2_SKIP_PEICORE) == 1\r |
424 | ArmPlatformPkg/PrePi/PeiUniCore.inf {\r | |
425 | <LibraryClasses>\r | |
426 | ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf\r | |
427 | ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf\r | |
428 | }\r | |
429 | !else\r | |
430 | ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf\r | |
1d5d0ae9 | 431 | MdeModulePkg/Core/Pei/PeiMain.inf\r |
432 | MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r | |
433 | <LibraryClasses>\r | |
434 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
435 | }\r | |
64e03133 | 436 | ArmPlatformPkg/PlatformPei/PlatformPeim.inf\r |
437 | ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf\r | |
1d5d0ae9 | 438 | IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r |
439 | Nt32Pkg/BootModePei/BootModePei.inf\r | |
440 | MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r | |
441 | MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {\r | |
442 | <LibraryClasses>\r | |
443 | NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r | |
444 | }\r | |
64e03133 | 445 | !endif\r |
1d5d0ae9 | 446 | \r |
447 | #\r | |
448 | # DXE\r | |
449 | #\r | |
450 | MdeModulePkg/Core/Dxe/DxeMain.inf {\r | |
451 | <LibraryClasses>\r | |
452 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
453 | NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r | |
454 | }\r | |
455 | \r | |
456 | #\r | |
457 | # Architectural Protocols\r | |
458 | #\r | |
459 | ArmPkg/Drivers/CpuDxe/CpuDxe.inf \r | |
460 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r | |
461 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r | |
462 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r | |
463 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r | |
a89cb4b7 | 464 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r |
465 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r | |
1d5d0ae9 | 466 | EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf \r |
467 | \r | |
468 | EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r | |
469 | EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r | |
470 | EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf\r | |
936eff09 | 471 | \r |
472 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r | |
473 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r | |
9bc6ef02 | 474 | ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf\r |
1d5d0ae9 | 475 | \r |
936eff09 | 476 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r |
477 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r | |
478 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r | |
479 | EmbeddedPkg/SerialDxe/SerialDxe.inf\r | |
480 | \r | |
55fad965 | 481 | ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf\r |
1d5d0ae9 | 482 | ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf\r |
a89cb4b7 | 483 | \r |
484 | ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf\r | |
1d5d0ae9 | 485 | \r |
486 | #\r | |
487 | # Semi-hosting filesystem\r | |
488 | #\r | |
489 | ArmPkg/Filesystem/SemihostFs/SemihostFs.inf\r | |
490 | \r | |
491 | #\r | |
492 | # FAT filesystem + GPT/MBR partitioning\r | |
493 | #\r | |
494 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r | |
495 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r | |
496 | FatPkg/EnhancedFatDxe/Fat.inf\r | |
497 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r | |
498 | \r | |
499 | \r | |
500 | #\r | |
501 | # Application\r | |
502 | # \r | |
503 | EmbeddedPkg/Ebl/Ebl.inf\r | |
504 | \r | |
505 | #\r | |
506 | # Bds\r | |
507 | #\r | |
508 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r | |
509 | ArmPlatformPkg/Bds/Bds.inf\r |