summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-01-17 10:47:54 -0700
committerTom Rini <trini@konsulko.com>2023-01-23 18:11:40 -0500
commit865328c3147b013021b1e48641ca11cef96f88cd (patch)
tree1c8212722614961deb84d532f1f39e2b9c4e5247 /net
parent2b3ebf2013d808fc02df0fecf7eb22a6dfaffeb5 (diff)
downloadu-boot-865328c3147b013021b1e48641ca11cef96f88cd.tar.gz
u-boot-865328c3147b013021b1e48641ca11cef96f88cd.tar.bz2
u-boot-865328c3147b013021b1e48641ca11cef96f88cd.zip
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 'net')
-rw-r--r--net/eth_bootdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/eth_bootdev.c b/net/eth_bootdev.c
index fdf48f0013..bcbb35a74c 100644
--- a/net/eth_bootdev.c
+++ b/net/eth_bootdev.c
@@ -27,7 +27,7 @@ static int eth_get_bootflow(struct udevice *dev, struct bootflow_iter *iter,
int ret;
/* Must be an Ethernet device */
- ret = bootflow_iter_uses_network(iter);
+ ret = bootflow_iter_check_net(iter);
if (ret)
return log_msg_ret("net", ret);