efi: Move some load-options handling into the common dir

These functions are useful for the app as well as the loader.

For now, efi_set_load_options() calls efi_search_protocol() which is
still in the loader, but we can provide an 'app' version when needed. It
doesn't seem worth keeping that one function in a separate file.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-08-15 17:24:12 -06:00
parent eeaec57199
commit 4500ade27f
3 changed files with 1 additions and 1 deletions

View File

@@ -6,5 +6,6 @@
obj-y += basename.o
obj-y += device_path.o
obj-y += helper.o
obj-y += load_options.o
obj-y += memory.o
obj-y += run.o

View File

@@ -38,7 +38,6 @@ obj-y += efi_fdt.o
obj-y += efi_file.o
obj-$(CONFIG_EFI_LOADER_HII) += efi_hii.o efi_hii_config.o
obj-y += efi_image_loader.o
obj-y += efi_load_options.o
obj-$(CONFIG_EFI_LOG) += efi_log.o
obj-y += efi_memory.o
obj-y += efi_root_node.o