boot: Update BOOTM_EFI to depend on EFI_LOADER

The EFI loader uses a rather unpleasant global for starting images. For
now the only way we intended to support booting EFI apps from the U-Boot
EFI app is via a bootmeth.

Update the condition so that the 'bootefi' command only works from the
EFI loader.

Future work may enable the 'bootefi' command for the app.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-08-05 16:20:16 -06:00
parent 92aad5b59e
commit f7bcb46121

View File

@@ -398,7 +398,7 @@ if BOOT
config BOOTM_EFI
bool "Support booting UEFI FIT images"
depends on EFI_BINARY_EXEC && FIT
depends on EFI_BINARY_EXEC && EFI_LOADER && FIT
default y
help
Support booting UEFI FIT images via the bootm command.