efi_client: Support running an app

Add support for running another app from with the EFI app. This can be
used to boot an OS, for example.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-08-05 15:37:29 -06:00
parent 75bf1ee3c5
commit 28b512bad3
3 changed files with 91 additions and 4 deletions

View File

@@ -129,9 +129,6 @@ efi_status_t efi_bootflow_run(struct bootflow *bflow)
fdt = map_sysmem(bflow->fdt_addr, 0);
}
if (IS_ENABLED(CONFIG_EFI_APP))
return EFI_UNSUPPORTED;
ret = efi_binary_run_dp(bflow->buf, bflow->size, fdt, NULL, 0, device,
image);