mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00: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:
parent
01adf0a408
commit
7017fc54a5
7 changed files with 18 additions and 40 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue