summaryrefslogtreecommitdiff
path: root/boot/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-04-25 08:31:17 +0300
committerTom Rini <trini@konsulko.com>2022-04-25 17:00:04 +0300
commitacfa9bdfa7391f1872aa67bc6e4d3cd38e11d6c9 (patch)
tree1625d6aea62d52abe5db68742605200745891b20 /boot/Makefile
parentdab2c2859b68ad04f276555812ecfbb25680cc61 (diff)
downloadu-boot-acfa9bdfa7391f1872aa67bc6e4d3cd38e11d6c9.tar.xz
bootstd: Add an implementation of EFI boot
Add a bootmeth driver which handles EFI boot, using EFI_LOADER. In effect, this provides the same functionality as the 'bootefi' command and shares the same code. But the interface into it is via a bootmeth, so it does not require any special scripts, etc. For now this requires the 'bootefi' command be enabled. Future work may tidy this up so that it can be used without CONFIG_CMDLINE being enabled. There was much discussion about whether this is needed, but it seems that it is, at least for now. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/Makefile')
-rw-r--r--boot/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/Makefile b/boot/Makefile
index 9c9613d22a..4f9267687f 100644
--- a/boot/Makefile
+++ b/boot/Makefile
@@ -26,6 +26,7 @@ obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += bootstd-uclass.o
obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_DISTRO) += bootmeth_distro.o
obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_DISTRO_PXE) += bootmeth_pxe.o
+obj-$(CONFIG_$(SPL_TPL_)BOOTMETH_EFILOADER) += bootmeth_efi.o
obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += image-fdt.o
obj-$(CONFIG_$(SPL_TPL_)FIT_SIGNATURE) += fdt_region.o