diff options
author | Simon Glass <sjg@chromium.org> | 2023-01-17 10:48:16 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-01-23 18:11:41 -0500 |
commit | 4b7cb058df35222632efa3f71aad63757b226440 (patch) | |
tree | 72710fc3ffb7aa06ebf4cf1baa306a8988cd0472 /cmd | |
parent | 91943ff7038f9c47fb310dbc22150b5664c8fbf7 (diff) | |
download | u-boot-4b7cb058df35222632efa3f71aad63757b226440.zip u-boot-4b7cb058df35222632efa3f71aad63757b226440.tar.gz u-boot-4b7cb058df35222632efa3f71aad63757b226440.tar.bz2 |
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>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/bootflow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/bootflow.c b/cmd/bootflow.c index 72d5a84..692bc6d 100644 --- a/cmd/bootflow.c +++ b/cmd/bootflow.c @@ -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; |