summaryrefslogtreecommitdiff
path: root/boot/bootmeth_efi.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-01-17 20:47:54 +0300
committerTom Rini <trini@konsulko.com>2023-01-24 02:11:40 +0300
commit865328c3147b013021b1e48641ca11cef96f88cd (patch)
tree1c8212722614961deb84d532f1f39e2b9c4e5247 /boot/bootmeth_efi.c
parent2b3ebf2013d808fc02df0fecf7eb22a6dfaffeb5 (diff)
downloadu-boot-865328c3147b013021b1e48641ca11cef96f88cd.tar.xz
bootstd: Rename bootdev checkers
These functions return 0 if the check passes, so the names are somewhat confusing. Rename them. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/bootmeth_efi.c')
-rw-r--r--boot/bootmeth_efi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/bootmeth_efi.c b/boot/bootmeth_efi.c
index d5438eb67b..f7bb153d9d 100644
--- a/boot/bootmeth_efi.c
+++ b/boot/bootmeth_efi.c
@@ -104,7 +104,7 @@ static int distro_efi_check(struct udevice *dev, struct bootflow_iter *iter)
int ret;
/* This only works on block devices */
- ret = bootflow_iter_uses_blk_dev(iter);
+ ret = bootflow_iter_check_blk(iter);
if (ret)
return log_msg_ret("blk", ret);