diff options
| author | AKASHI Takahiro <[email protected]> | 2024-01-17 13:39:41 +0900 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2024-01-17 08:40:25 +0100 |
| commit | 6422820ac3e59fd92dc7fc5c9dcd5c6101065f19 (patch) | |
| tree | 15634d75c578a67a5424e6d079bd6f2757e2cf6c /boot | |
| parent | 0ab829d4de4323f53b4e2230bf885c2004da5d9b (diff) | |
efi_loader: split unrelated code from efi_bootmgr.c
Some code moved from cmd/bootefi.c is actually necessary only for "bootefi
<addr>" command (starting an image manually loaded by a user using U-Boot
load commands or other methods (like JTAG debugger).
The code will never been opted out as unused code by a compiler which
doesn't know how EFI boot manager is implemented. So introduce a new
configuration, CONFIG_EFI_BINARY_EXEC, to enforce them opted out
explicitly.
Signed-off-by: AKASHI Takahiro <[email protected]>
Diffstat (limited to 'boot')
| -rw-r--r-- | boot/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/Kconfig b/boot/Kconfig index 0894ecf4df1..70ff24808b0 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -523,7 +523,7 @@ config BOOTMETH_EXTLINUX_PXE config BOOTMETH_EFILOADER bool "Bootdev support for EFI boot" - depends on BOOTEFI_BOOTMGR + depends on EFI_BINARY_EXEC default y help Enables support for EFI boot using bootdevs. This makes the @@ -558,7 +558,7 @@ config BOOTMETH_DISTRO select BOOTMETH_SCRIPT if CMDLINE # E.g. Armbian uses scripts select BOOTMETH_EXTLINUX # E.g. Debian uses these select BOOTMETH_EXTLINUX_PXE if CMD_PXE && CMD_NET && DM_ETH - select BOOTMETH_EFILOADER if BOOTEFI_BOOTMGR # E.g. Ubuntu uses this + select BOOTMETH_EFILOADER if EFI_BINARY_EXEC # E.g. Ubuntu uses this config SPL_BOOTMETH_VBE bool "Bootdev support for Verified Boot for Embedded (SPL)" |
