summaryrefslogtreecommitdiff
path: root/boot/bootmeth_efi_mgr.c
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2023-11-21 10:29:46 +0900
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-12-17 13:04:54 +0100
commit7017fc54a5bccd95bebaf371bfa3098fcf84068a (patch)
tree27f3409063918d0b50fd22e2cba3e23909ebc98b /boot/bootmeth_efi_mgr.c
parent01adf0a408e34a24f7471ff67f3defdeec4c56f3 (diff)
bootmeth: use efi_loader interfaces instead of bootefi command
Now that efi_loader subsystem provides interfaces that are equivalent with bootefi command, we can replace command invocations with APIs. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Diffstat (limited to 'boot/bootmeth_efi_mgr.c')
-rw-r--r--boot/bootmeth_efi_mgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/bootmeth_efi_mgr.c b/boot/bootmeth_efi_mgr.c
index 6428c096d7f..ed29d7ef021 100644
--- a/boot/bootmeth_efi_mgr.c
+++ b/boot/bootmeth_efi_mgr.c
@@ -87,7 +87,7 @@ static int efi_mgr_boot(struct udevice *dev, struct bootflow *bflow)
int ret;
/* Booting is handled by the 'bootefi bootmgr' command */
- ret = run_command("bootefi bootmgr", 0);
+ ret = efi_bootmgr_run(EFI_FDT_USE_INTERNAL);
return 0;
}