mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
committed by
Heinrich Schuchardt
parent
01adf0a408
commit
7017fc54a5
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user