1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
|
#
# Copyright (c) 2013, AppliedMicro Corp. All rights reserved.
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php
#
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
# NOR Flash Layout
#
# 0x0000.0000 - 0x006F.FFFF => TianoCore
# 0x0007.0000 - 0x0007.FFFF => TianoCore Variables
#
# 0x0080.0000 - 0x010F.FFFF => Linux Kernel
# 0x0150.0000 - 0x0150.FFFF => DTS
# 0x0160.0000 - 0x019F.FFFF => Init ram disk (uRamdisk)
#
################################################################################
#
# Defines Section - statements that will be processed to create a Makefile.
#
################################################################################
[Defines]
PLATFORM_NAME = APMXGene-Mustang
PLATFORM_GUID = edcba8fd-a24e-489c-b4e9-93561f576500
PLATFORM_VERSION = 0.1
DSC_SPECIFICATION = 0x00010005
OUTPUT_DIRECTORY = Build/APMXGene-Mustang
SUPPORTED_ARCHITECTURES = AARCH64
BUILD_TARGETS = DEBUG|RELEASE
SKUID_IDENTIFIER = DEFAULT
FLASH_DEFINITION = OpenPlatformPkg/Platforms/APM/XGene/APMXGene-Mustang.fdf
!include OpenPlatformPkg/Platforms/APM/XGene/APMXGene.dsc.inc
[LibraryClasses.common]
ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64Lib.inf
ArmPlatformLib|OpenPlatformPkg/Platforms/APM/XGene/Library/APMXGeneArmPlatformLib/APMXGeneArmPlatformLib.inf
APMXGeneMemcLib|OpenPlatformPkg/Platforms/APM/XGene/Library/APMXGeneMemcLib/APMXGeneMemcLib.inf
STMicroLib|OpenPlatformPkg/Platforms/APM/XGene/Drivers/STMicro/STMicro.inf
I2CLib|OpenPlatformPkg/Platforms/APM/XGene/Library/I2CLib/I2CLib.inf
SPILib|OpenPlatformPkg/Platforms/APM/XGene/Library/SPILib/SPILib.inf
SPIFlashLib|OpenPlatformPkg/Platforms/APM/XGene/Library/SPIFlashLib/SPIFlashLib.inf
SerialPortLib|OpenPlatformPkg/Platforms/APM/XGene/Library/DWSerialPortLib/DWSerialPortLib.inf
RegDumpLib|OpenPlatformPkg/Platforms/APM/XGene/Library/APMXGeneRegDumpLib/APMXGeneRegDump.inf
ArmPlatformDeviceTree|OpenPlatformPkg/Platforms/APM/XGene/DeviceTree/DeviceTree.inf
# ARM General Interrupt Driver in Secure and Non-secure
ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
# Network General
NetLib|OpenPlatformPkg/Platforms/APM/XGene/Modules/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
XGenePHYLib|OpenPlatformPkg/Platforms/APM/XGene/Library/APMXGenePHYLib/APMXGenePHYLib.inf
[LibraryClasses.common.SEC]
ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64LibSec.inf
ArmPlatformSecLib|OpenPlatformPkg/Platforms/APM/XGene/Library/APMXGeneSecLib/APMXGeneSecLib.inf
#ArmGicSecLib|ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf
#ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf
[BuildOptions]
GCC:*_*_AARCH64_ARCHCC_FLAGS = -mgeneral-regs-only -DARM_CPU_AARCH64 -DAPM_XGENE -DAPM_XGENE_SPI_FLASH -DAPM_XGENE_BOOT_SPI_NOR -DAARCH64_MP_PROTOCOL -fno-omit-frame-pointer
GCC:*_*_AARCH64_PP_FLAGS = -DARM_CPU_AARCH64
GCC:*_*_AARCH64_PLATFORM_FLAGS == -I$(WORKSPACE)/OpenPlatformPkg/Platforms/APM/XGene/Include -I$(WORKSPACE)/OpenPlatformPkg/Platforms/APM/XGene/Modules/ArmPlatformPkg/Include -I$(WORKSPACE)/OpenPlatformPkg/Platforms/APM/XGene/Modules/EmbeddedPkg/Include -I$(WORKSPACE)/OpenPlatformPkg/Platforms/APM/XGene/Modules/MdePkg/Include
################################################################################
#
# Pcd Section - list of all EDK II PCD Entries defined by this Platform
#
################################################################################
[PcdsFeatureFlag.common]
!ifdef $(EDK2_SKIP_PEICORE)
gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE
gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|TRUE
!endif
## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
# It could be set FALSE to save size.
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
#
# PCIE
#
gArmPlatformTokenSpaceGuid.PcdPcieRootBridgeResetGpio|TRUE
gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
[PcdsDynamicDefault.common]
gArmTokenSpaceGuid.PcdBootingLinuxUEFI|2
[PcdsFixedAtBuild.common]
gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"1.1.0"
gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"X-Gene Mustang Board"
gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"Mustang"
gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000
# Memory base start at 0x40.00000000 and above
gArmTokenSpaceGuid.PcdSystemMemoryBase|0x4000000000
# System Memory (4GB)
gArmTokenSpaceGuid.PcdSystemMemorySize|0x100000000
#
# NV Storage PCDs. Use base of 0x0780000 for NOR0
#
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x800000
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x020000
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x820000
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x020000
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x840000
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x020000
gArmTokenSpaceGuid.PcdVFPEnabled|1
# Stacks for MPCores in Secure World (Top of OCM)
gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x1D0FF000
gArmPlatformTokenSpaceGuid.PcdCPUCoreSecPrimaryStackSize|0x1000
# For store Mem size after DDR calibration
gArmPlatformTokenSpaceGuid.PcdMemSizeAddr|0x1D0FEFF8
# For store TTB for initialize MMU before DDR calibration. 4K alignment
gArmPlatformTokenSpaceGuid.PcdTTBBaseAddr|0x1D0A6000
# Stacks for MPCores in Monitor Mode
#gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x2E008000
#gArmPlatformTokenSpaceGuid.PcdCPUCoreSecMonStackSize|0x100
# Stacks for MPCores in Normal World
gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x4001100000
gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x4000
# Size of the region used by UEFI in permanent memory (Reserved 32MB)
gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x08000000
#
# ARM Pcds
gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000
# DW - Serial Terminal
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x1C020000
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|8
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|0
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|1
#
# AHBC
gArmPlatformTokenSpaceGuid.PcdAHBCRegisterBase|0x1f2a0000
# DW SPI
gArmPlatformTokenSpaceGuid.PcdDWSpiBaseAddress|0x1C025000
gArmPlatformTokenSpaceGuid.PcdDWSpiClkInHz|12000000
gArmPlatformTokenSpaceGuid.PcdDWSpiMaxCS|3
gArmPlatformTokenSpaceGuid.PcdDWSpiFifoDepth|256
gArmPlatformTokenSpaceGuid.PcdDWSpiSysClk|100000000
gArmPlatformTokenSpaceGuid.PcdDWSpiVerId|0x3331352A
# DW I2C
gArmPlatformTokenSpaceGuid.PcdSysClkInHz|100000000
#
# ARM General Interrupt Controller
gArmTokenSpaceGuid.PcdGicDistributorBase|0x78090000
gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x780a0000
#
# ARM OS Loader
#
# Note that MemoryMapped when boot from SPI NOR must be PcdSystemMemoryBase + PcdSPIFlashMappedBaseOffset + (Offset in Flash. This offset must above 0x800000).
gArmTokenSpaceGuid.PcdArmMachineType|2272
gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"BOOT OS LOADER"
gArmPlatformTokenSpaceGuid.PcdDefaultBootType|0
gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|"console=ttyS0,115200 root=/dev/ram rw earlyprintk=uart8250-32bit,0x1c020000 debug"
# From NOR MTD
#gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(F40A3869-92C4-4275-8501-4491A1A20C19)/\\uImage"
#gArmPlatformTokenSpaceGuid.PcdFdtDevicePath|L"VenHw(F40A3869-92C4-4275-8501-4491A1A20C19)/\\apm-mustang.dtb"
#gArmPlatformTokenSpaceGuid.PcdDefaultBootInitrdPath|L"VenHw(F40A3869-92C4-4275-8501-4491A1A20C19)/\\uRamdisk"
# From SD
gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(B225ED30-6DFD-43A9-BF6B-5753358F2F70)/HD(1,MBR,0x00000000,0x800,0x3AE800)/efi\\boot\\bootaa64.efi"
gArmPlatformTokenSpaceGuid.PcdFdtDevicePath|L"VenHw(B225ED30-6DFD-43A9-BF6B-5753358F2F70)/HD(1,MBR,0x00000000,0x800,0x1D7400)/\\apm-mustang.dtb"
gArmPlatformTokenSpaceGuid.PcdDefaultBootInitrdPath|L"VenHw(B225ED30-6DFD-43A9-BF6B-5753358F2F70)/HD(1,MBR,0x00000000,0x800,0x1D7400)/\\uRamdisk"
# From U-Boot Memory (All images)
# This helps speed up Tianocore and UEFI/Linux testing
# Mustang=> tftp 0x4002000000 ${user_dir}/mustang_tianocore_ubt.fd
# Mustang=> tftp 0x1d000000 ${user_dir}/mustang_tianocore_sec_ubt.fd
# Mustang=> tftp 0x4004800000 ${user_dir}/uImage
# Mustang=> tftp 0x4005500000 ${user_dir}/mustang.dtb
# Mustang=> tftp 0x4005600000 ${user_dir}/uRamdisk
# Mustang=> go 0x1d000000
# Note, You need to erase Tianocore old "Boot Menu configration" if
# you are going "From NOR MTD" to "U-Boot Memory (All images)."
# If this is the case, do the following from U-Boot.
# Mustang=> sf probe 0; sf erase 0x700000 0x100000
#gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(02118005-9DA7-443A-92D5-781F022AEDBB)/MemoryMapped(0x0,0x4004800000,0x40054FFFFF)"
#gArmPlatformTokenSpaceGuid.PcdFdtDevicePath|L"VenHw(02118005-9DA7-443A-92D5-781F022AEDBB)/MemoryMapped(0x0,0x4005500000,0x40550FFFF)"
#gArmPlatformTokenSpaceGuid.PcdDefaultBootInitrdPath|L"VenHw(02118005-9DA7-443A-92D5-781F022AEDBB)/MemoryMapped(0x0,0x4005600000,0x40087FFFFF)"
#Map SPI_NOR flash from 0x800000 to 0x800000 + PcdSPIFlashMappedLen to PcdSystemMemoryBase + PcdSPIFlashMappedBaseOffset + 0x800000. Need to fix it for fast booting
#gArmPlatformTokenSpaceGuid.PcdSPIFlashMappedBaseOffset|0x4000000
#gArmPlatformTokenSpaceGuid.PcdSPIFlashMappedLen|0x1000000
# Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut)
gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi()"
gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi()"
gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut|5
#
# ARM Architectual Timer Frequency
#
gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|50000000
# SATA
gArmPlatformTokenSpaceGuid.PcdSataControllerMask|0x6 # Controller 1,2
# USB
gArmPlatformTokenSpaceGuid.PcdUsbControllerMask|0x3
#
# SD
#
gArmPlatformTokenSpaceGuid.PcdSDIOCapLow|0xA0FC1970
gArmPlatformTokenSpaceGuid.PcdSDIOCapHigh|0x0000008F
gArmPlatformTokenSpaceGuid.PcdSDIOHostPhyEnableMask|1
#
# PCIE
#
gArmPlatformTokenSpaceGuid.PcdPcieRootBridgeMask|0x1 # Port 0 enabled
gArmPlatformTokenSpaceGuid.PcdPcieRootBridgeGen|0x33333
gArmPlatformTokenSpaceGuid.PcdPcieRootBridgeWidth|0x48148
gArmPlatformTokenSpaceGuid.PcdPcieRootBridgeResetGpioPin|0x19
################################################################################
#
# Components Section - list of all EDK II Modules needed by this Platform
#
################################################################################
[Components.common]
#
# SEC
#
# ArmPlatformPkg/Sec/Sec.inf
OpenPlatformPkg/Platforms/APM/XGene/Sec/Sec.inf {
<LibraryClasses>
ArmPlatformSecLib|OpenPlatformPkg/Platforms/APM/XGene/Library/APMXGeneSecLib/APMXGeneSecLib.inf
APMXGeneMemcLib|OpenPlatformPkg/Platforms/APM/XGene/Library/APMXGeneMemcLib/APMXGeneMemcLib.inf
}
#
# PEI Phase modules
#
!ifdef $(EDK2_SKIP_PEICORE)
ArmPlatformPkg/PrePi/PeiMPCore.inf {
<LibraryClasses>
ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64Lib.inf
ArmPlatformLib|OpenPlatformPkg/Platforms/APM/XGene/Library/APMXGeneArmPlatformLib/APMXGeneArmPlatformLib.inf
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf
}
!else
ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf {
<LibraryClasses>
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
}
MdeModulePkg/Core/Pei/PeiMain.inf
MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
<LibraryClasses>
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
}
ArmPlatformPkg/PlatformPei/PlatformPeim.inf
OpenPlatformPkg/Platforms/APM/XGene/Modules/ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf {
<LibraryClasses>
PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
}
ArmPkg/Drivers/CpuPei/CpuPei.inf
IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
Nt32Pkg/BootModePei/BootModePei.inf
MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
<LibraryClasses>
NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
}
!endif
#
# DXE
#
MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
<LibraryClasses>
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
}
MdeModulePkg/Core/Dxe/DxeMain.inf {
<LibraryClasses>
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
}
#
# SMBIOS
#
OpenPlatformPkg/Platforms/APM/XGene/Modules/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
OpenPlatformPkg/Platforms/APM/XGene/PlatformSmbiosDxe/PlatformSmbiosDxe.inf {
<LibraryClasses>
SmbiosLib|OpenPlatformPkg/Platforms/APM/XGene/Library/SmbiosLib/SmbiosLib.inf
}
#
# Architectural Protocols
#
ArmPkg/Drivers/CpuDxe/CpuDxe.inf
OpenPlatformPkg/Platforms/APM/XGene/Modules/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
OpenPlatformPkg/Platforms/APM/XGene/Modules/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
OpenPlatformPkg/Platforms/APM/XGene/Modules/MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
#MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
#MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
EmbeddedPkg/SerialDxe/SerialDxe.inf
MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
#MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
ArmPkg/Drivers/TimerDxe/TimerDxe.inf
MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
#
# Semi-hosting filesystem
#
#ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
#
# Multimedia Card Interface
#
OpenPlatformPkg/Platforms/APM/XGene/MmcDxe/MmcDxe.inf
OpenPlatformPkg/Platforms/APM/XGene/Drivers/MciDxe/MciDxe.inf
#
# FAT filesystem + GPT/MBR partitioning
#
MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
#
# USB XHCI Support
#
OpenPlatformPkg/Platforms/APM/XGene/Bus/Usb/UsbControllerDxe/UsbControllerDxe.inf
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
OpenPlatformPkg/Platforms/APM/XGene/Modules/MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
!ifdef $(EDK2_ARMVE_UEFI2_SHELL)
ShellPkg/Application/Shell/Shell.inf {
<LibraryClasses>
ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
PathLib|MdeModulePkg/Library/BasePathLib/BasePathLib.inf
<PcdsFixedAtBuild>
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|16000
}
!endif
#
# ACPI Support
#
OpenPlatformPkg/Platforms/APM/XGene/Modules/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
OpenPlatformPkg/Platforms/APM/XGene/AcpiPlatformDxe/AcpiPlatformDxe.inf {
<LibraryClasses>
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
}
OpenPlatformPkg/Platforms/APM/XGene/AcpiTables/APMXGene-Mustang/AcpiTables.inf
#
# Bds
#
MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
ArmPlatformPkg/Bds/Bds.inf {
<LibraryClasses>
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
}
#
# Network stack drivers
#
MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
OpenPlatformPkg/Platforms/APM/XGene/Drivers/SnpDxe/SnpDxe.inf
OpenPlatformPkg/Platforms/APM/XGene/Drivers/MellanoxDxe/SnpDxe.inf
#
# PCI Support
#
OpenPlatformPkg/Platforms/APM/XGene/Drivers/GpioDxe/GpioDxe.inf
OpenPlatformPkg/Platforms/APM/XGene/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
<LibraryClasses>
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
}
OpenPlatformPkg/Platforms/APM/XGene/Modules/MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
#
# IDE/AHCI Support
#
OpenPlatformPkg/Platforms/APM/XGene/Drivers/SataControllerNewDxe/SataControllerDxe.inf
OpenPlatformPkg/Platforms/APM/XGene/Drivers/PCISataControllerDxe/SataControllerDxe.inf
OpenPlatformPkg/Platforms/APM/XGene/Modules/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
OpenPlatformPkg/Platforms/APM/XGene/Modules/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
#
# Misc
#
OpenPlatformPkg/Platforms/APM/XGene/Drivers/L3CacheDxe/L3CacheDxe.inf
|