summaryrefslogtreecommitdiff
path: root/cmd/bootflow.c
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2024-11-15 16:19:09 -0700
committerTom Rini <[email protected]>2025-01-15 08:48:42 -0600
commit92182257733b446f3074a8a9b0a7eafea6ea8c1c (patch)
tree19ddbe4e6a45f3aafed8a2bf2515a12aff25788a /cmd/bootflow.c
parent47903aacc520c96bafae1225484e5df740a233e6 (diff)
bootstd: Move bootflow-clearing to bootstd
This relates to more than just the bootdev, since there is a global list of bootflows. Move the function to the bootstd file and rename it. Signed-off-by: Simon Glass <[email protected]> Acked-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'cmd/bootflow.c')
-rw-r--r--cmd/bootflow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/bootflow.c b/cmd/bootflow.c
index 8962464bbf8..1c1146ce11e 100644
--- a/cmd/bootflow.c
+++ b/cmd/bootflow.c
@@ -197,7 +197,7 @@ static int do_bootflow_scan(struct cmd_tbl *cmdtp, int flag, int argc,
show_header();
}
if (dev)
- bootdev_clear_bootflows(dev);
+ bootstd_clear_bootflows_for_bootdev(dev);
else
bootstd_clear_glob();
for (i = 0,