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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user