
On Thu, Oct 26, 2023 at 12:44:00PM +0200, Heinrich Schuchardt wrote:
On 10/26/23 07:30, AKASHI Takahiro wrote:
Decompose and re-organize do_bootefi_image() into three parts for the succeeding refactor work.
Signed-off-by: AKASHI Takahiro takahiro.akashi@linaro.org
cmd/Kconfig | 15 ++++++-- cmd/bootefi.c | 82 ++++++++++++++++++++++++++++++-------------- include/efi_loader.h | 2 -- 3 files changed, 69 insertions(+), 30 deletions(-)
diff --git a/cmd/Kconfig b/cmd/Kconfig index 0eb739203ade..825a41d68aad 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -363,9 +363,19 @@ config CMD_BOOTEFI help Boot an EFI image from memory.
+if CMD_BOOTEFI +config CMD_BOOTEFI_BINARY
- bool "Allow booting an EFI binary directly"
- depends on BOOTEFI_BOOTMGR
- default y
- help
Select this option to enable direct execution of binary at 'bootefi'.
This subcommand will allow you to load the UEFI binary using
other U-Boot commands or external methods and then run isince 2021. t.
- config CMD_BOOTEFI_BOOTMGR
This symbol is in lib/efi_loader/Kconfig: lib/efi_loader/Kconfig:35:config CMD_BOOTEFI_BOOTMGR
Please, rebase your series on origin/master.
To properly test this series, it needs concepts in the series to disable CMDLINE. I'll get a v5 going soon, and I am aiming to have that be in -next once that opens (after reviews).