summaryrefslogtreecommitdiff
path: root/test/boot
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 /test/boot
parent01adf0a408e34a24f7471ff67f3defdeec4c56f3 (diff)
downloadu-boot-7017fc54a5bccd95bebaf371bfa3098fcf84068a.tar.gz
u-boot-7017fc54a5bccd95bebaf371bfa3098fcf84068a.tar.bz2
u-boot-7017fc54a5bccd95bebaf371bfa3098fcf84068a.zip
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 'test/boot')
-rw-r--r--test/boot/bootflow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/boot/bootflow.c b/test/boot/bootflow.c
index 597f624d03..f3e5a839da 100644
--- a/test/boot/bootflow.c
+++ b/test/boot/bootflow.c
@@ -374,7 +374,7 @@ static int bootflow_system(struct unit_test_state *uts)
{
struct udevice *bootstd, *dev;
- if (!IS_ENABLED(CONFIG_CMD_BOOTEFI_BOOTMGR))
+ if (!IS_ENABLED(CONFIG_BOOTEFI_BOOTMGR))
return -EAGAIN;
ut_assertok(uclass_first_device_err(UCLASS_BOOTSTD, &bootstd));
ut_assertok(device_bind(bootstd, DM_DRIVER_GET(bootmeth_efi_mgr),