The Arm ports support running the IntelBds these days, but still depend on the ArmPkg BdsLib. Break this out into a separate library, and fix up some loose ends causing problems when that happens.
Leif Lindholm (3): ArmPkg: break out common Bds functions ArmPkg/ArmPlatformPkg: remove components when using PlatformIntelBdsLib ArmVirtualizationPkg: use ArmBdsHelperLib with PlatformIntelBdsLib
ArmPkg/ArmPkg.dsc | 4 + ArmPkg/Include/Library/ArmBdsHelperLib.h | 96 ++++ ArmPkg/Library/ArmBdsHelperLib/ArmBdsHelperLib.c | 487 +++++++++++++++++++++ ArmPkg/Library/ArmBdsHelperLib/ArmBdsHelperLib.inf | 44 ++ ArmPkg/Library/BdsLib/BdsFilePath.c | 364 +-------------- ArmPkg/Library/BdsLib/BdsHelper.c | 112 ----- ArmPkg/Library/BdsLib/BdsLib.inf | 1 + ArmPlatformPkg/ArmPlatformPkg.dsc | 2 + ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc | 4 + .../ArmVirtualizationPkg/ArmVirtualization.dsc.inc | 2 + .../ArmVirtualizationPkg/ArmVirtualizationQemu.dsc | 1 + .../PlatformIntelBdsLib/PlatformIntelBdsLib.inf | 2 +- .../Library/PlatformIntelBdsLib/IntelBdsPlatform.c | 1 + .../PlatformIntelBdsLib/PlatformIntelBdsLib.inf | 2 +- 14 files changed, 645 insertions(+), 477 deletions(-) create mode 100644 ArmPkg/Include/Library/ArmBdsHelperLib.h create mode 100644 ArmPkg/Library/ArmBdsHelperLib/ArmBdsHelperLib.c create mode 100644 ArmPkg/Library/ArmBdsHelperLib/ArmBdsHelperLib.inf