diff options
author | Tom Rini <trini@konsulko.com> | 2023-12-17 09:11:06 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-12-17 09:11:06 -0500 |
commit | fdefb4e194c65777fa11479119adaa71651f41d4 (patch) | |
tree | f476647ec6dc4d36a0ccc6df3cba71c137b7d098 /boot/bootmeth_efi.c | |
parent | cd948210332783c2b1c6d10a982a80c0da4f69b9 (diff) | |
parent | 291ab919355df5ee28183546049d5fbdb2777d2d (diff) |
Merge tag 'efi-next-20231217' of https://source.denx.de/u-boot/custodians/u-boot-efi into next
Pull request for efi-next-20231217
Documentation:
* replace MD5 and SHA1 by SHA256 in examples
UEFI:
* Refactor boot manager and bootefi command to let the EFI boot method work
without shell.
Diffstat (limited to 'boot/bootmeth_efi.c')
-rw-r--r-- | boot/bootmeth_efi.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/boot/bootmeth_efi.c b/boot/bootmeth_efi.c index 9ba7734911..d46bff51d8 100644 --- a/boot/bootmeth_efi.c +++ b/boot/bootmeth_efi.c @@ -413,7 +413,6 @@ static int distro_efi_read_bootflow(struct udevice *dev, struct bootflow *bflow) static int distro_efi_boot(struct udevice *dev, struct bootflow *bflow) { ulong kernel, fdt; - char cmd[50]; int ret; kernel = env_get_hex("kernel_addr_r", 0); @@ -442,12 +441,7 @@ static int distro_efi_boot(struct udevice *dev, struct bootflow *bflow) fdt = env_get_hex("fdt_addr_r", 0); } - /* - * At some point we can add a real interface to bootefi so we can call - * this directly. For now, go through the CLI, like distro boot. - */ - snprintf(cmd, sizeof(cmd), "bootefi %lx %lx", kernel, fdt); - if (run_command(cmd, 0)) + if (efi_binary_run(map_sysmem(kernel, 0), 0, map_sysmem(fdt, 0))) return log_msg_ret("run", -EINVAL); return 0; |