]> git.proxmox.com Git - mirror_edk2.git/commit - ArmVirtPkg/PrePi/AArch64/ModuleEntryPoint.S
ArmVirtPkg/PrePi: move DRAM discovery code into PrePi
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 17 Nov 2017 11:09:44 +0000 (11:09 +0000)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 23 Nov 2017 16:05:03 +0000 (16:05 +0000)
commit832709565e76a3f068848964a9c1dac4fa5d21f2
tree685643626e5e3da52598f9d656102bec840f0994
parent888559acf98ae954af0418c1f72bc603aa9b9e88
ArmVirtPkg/PrePi: move DRAM discovery code into PrePi

ArmVirtQemuKernel and ArmVirtXen use essentially the same code to
retrieve DRAM information from the DT /memory node at early boot,
and invoke it via the ArmPlatformPeiBootAction () hook exposed by
ArmPlatformLib. Let's move this code into the PrePi implementation
these platforms share between them (and not with any other platforms)
so we can eliminate another dependency on the messy ArmPlatformLib.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Laszlo Ersek <lersek@redhat.com>
ArmVirtPkg/PrePi/AArch64/ModuleEntryPoint.S
ArmVirtPkg/PrePi/Arm/ModuleEntryPoint.S
ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf
ArmVirtPkg/PrePi/FdtParser.c [new file with mode: 0644]