diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-11-30 15:00:23 +0000 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-11-30 17:08:41 +0000 |
commit | b3de5a48141f140325b19771ae0daa9e3ab751e5 (patch) | |
tree | 192e6b3f2a3c2773e5c02851622c59462f35f47f /BeagleBoardPkg/BeagleBoardPkg.dsc | |
parent | 917c56274c66f89120c8c88c5c7fb98081bd67bc (diff) | |
download | edk2-b3de5a48141f140325b19771ae0daa9e3ab751e5.tar.gz edk2-b3de5a48141f140325b19771ae0daa9e3ab751e5.tar.bz2 edk2-b3de5a48141f140325b19771ae0daa9e3ab751e5.zip |
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>
Diffstat (limited to 'BeagleBoardPkg/BeagleBoardPkg.dsc')
-rw-r--r-- | BeagleBoardPkg/BeagleBoardPkg.dsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BeagleBoardPkg/BeagleBoardPkg.dsc b/BeagleBoardPkg/BeagleBoardPkg.dsc index a171559377..5d87ee3891 100644 --- a/BeagleBoardPkg/BeagleBoardPkg.dsc +++ b/BeagleBoardPkg/BeagleBoardPkg.dsc @@ -150,7 +150,7 @@ MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
- MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
+ MemoryInitPeiLib|BeagleBoardPkg/Library/MemoryInitPeiLib/MemoryInitPeiLib.inf
# 1/123 faster than Stm or Vstm version
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|