efi: Move the base name and PXE info into lib/efi

Move efi_get_basename() and efi_get_pxe_arch() into lib/efi so they can
be used from the app.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-05-23 14:06:43 +01:00
parent c787cb9d27
commit 624cdc9228
5 changed files with 93 additions and 74 deletions

View File

@@ -5,6 +5,7 @@
ifndef CONFIG_XPL_BUILD
obj-$(CONFIG_EFI) += efi/
obj-$(CONFIG_EFI_CLIENT) += efi_client/
obj-$(CONFIG_EFI_LOADER) += efi_driver/
obj-$(CONFIG_EFI_LOADER) += efi_loader/