bootm: Rename do_bootm_states() to bootm_run_states()
Rename the function to bootm_run_states() to better indicate ts
purpose. The 'do_' prefix is used to indicate a command processor,
which this is now not.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
diff --git a/boot/bootm.c b/boot/bootm.c
index be1124f..f009e9a 100644
--- a/boot/bootm.c
+++ b/boot/bootm.c
@@ -990,7 +990,7 @@
return ret;
}
-int do_bootm_states(struct bootm_info *bmi, int states)
+int bootm_run_states(struct bootm_info *bmi, int states)
{
struct bootm_headers *images = bmi->images;
boot_os_fn *boot_fn;
@@ -1152,7 +1152,7 @@
bootm_init(&bmi);
bmi.addr_img = addr_str;
bmi.cmd_name = "bootm";
- ret = do_bootm_states(&bmi, states);
+ ret = bootm_run_states(&bmi, states);
return ret;
}