aboutsummaryrefslogtreecommitdiff
path: root/cmd/bootz.c
diff options
context:
space:
mode:
authorSimon Glass2023-12-15 20:14:19 -0700
committerTom Rini2023-12-21 16:07:52 -0500
commitb5d397f4898ce03fc241aeb2a4a82bbcdd455b44 (patch)
treefe4c542fe9f8cf4815c11de0d886f067db13e276 /cmd/bootz.c
parenta6c49161cb2f6c7ddfc0a76747ac9bf6307fb9d2 (diff)
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>
Diffstat (limited to 'cmd/bootz.c')
-rw-r--r--cmd/bootz.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/bootz.c b/cmd/bootz.c
index 12da9422741..05b15eb4d76 100644
--- a/cmd/bootz.c
+++ b/cmd/bootz.c
@@ -40,7 +40,7 @@ static int bootz_start(struct cmd_tbl *cmdtp, int flag, int argc,
bmi.conf_fdt = argv[2];
/* do not set up argc and argv[] since nothing uses them */
- ret = do_bootm_states(&bmi, BOOTM_STATE_START);
+ ret = bootm_run_states(&bmi, BOOTM_STATE_START);
/* Setup Linux kernel zImage entry point */
if (!argc) {
@@ -104,7 +104,7 @@ int do_bootz(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
if (IS_ENABLED(CONFIG_SYS_BOOT_RAMDISK_HIGH))
states |= BOOTM_STATE_RAMDISK;
- ret = do_bootm_states(&bmi, states);
+ ret = bootm_run_states(&bmi, states);
return ret;
}