bootstd: Drop the old bootflow_scan_first()
This function is not used outside tests. Drop it and rename bootflow_scan_dev() since it is how we start a scan now. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -161,7 +161,7 @@ static int do_bootflow_scan(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
else
|
||||
bootstd_clear_glob();
|
||||
for (i = 0,
|
||||
ret = bootflow_scan_bootdev(dev, label, &iter, flags, &bflow);
|
||||
ret = bootflow_scan_first(dev, label, &iter, flags, &bflow);
|
||||
i < 1000 && ret != -ENODEV;
|
||||
i++, ret = bootflow_scan_next(&iter, &bflow)) {
|
||||
bflow.err = ret;
|
||||
|
||||
Reference in New Issue
Block a user