]> git.proxmox.com Git - mirror_edk2.git/commit
BeagleBoardPkg: clone MemoryInitPeiLib
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 30 Nov 2017 15:00:23 +0000 (15:00 +0000)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 30 Nov 2017 17:08:41 +0000 (17:08 +0000)
commitb3de5a48141f140325b19771ae0daa9e3ab751e5
tree192e6b3f2a3c2773e5c02851622c59462f35f47f
parent917c56274c66f89120c8c88c5c7fb98081bd67bc
BeagleBoardPkg: clone MemoryInitPeiLib

The common MemoryInitPeiLib implementation preserves the primary FV
holding the PrePi module and the compressed secondary FV, and removes
the memory it occupies from the memory map, hiding it from the OS.

The only platform that actual requires this is BeagleBoardPkg, since
it exposes the PeCoff and LZMA libraries in PrePi to DXE core via
special HOBs. So let's give BeagleBoard its own MemoryInitPeiLib, so
that we can clean up the generic version.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
BeagleBoardPkg/BeagleBoardPkg.dsc
BeagleBoardPkg/Library/MemoryInitPeiLib/MemoryInitPeiLib.c [new file with mode: 0644]
BeagleBoardPkg/Library/MemoryInitPeiLib/MemoryInitPeiLib.inf [new file with mode: 0644]