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>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user