summaryrefslogtreecommitdiff
path: root/cmd/bootm.c
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2023-12-15 20:14:19 -0700
committerTom Rini <[email protected]>2023-12-21 16:07:52 -0500
commitb5d397f4898ce03fc241aeb2a4a82bbcdd455b44 (patch)
treefe4c542fe9f8cf4815c11de0d886f067db13e276 /cmd/bootm.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 <[email protected]> Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'cmd/bootm.c')
-rw-r--r--cmd/bootm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/bootm.c b/cmd/bootm.c
index 76986c61e7b..26d20b9118d 100644
--- a/cmd/bootm.c
+++ b/cmd/bootm.c
@@ -118,7 +118,7 @@ static int do_bootm_subcommand(struct cmd_tbl *cmdtp, int flag, int argc,
bmi.argc = argc;
bmi.argv = argv;
- ret = do_bootm_states(&bmi, state);
+ ret = bootm_run_states(&bmi, state);
#if defined(CONFIG_CMD_BOOTM_PRE_LOAD)
if (!ret && (state & BOOTM_STATE_PRE_LOAD))
@@ -180,7 +180,7 @@ int do_bootm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
bmi.argc = argc;
bmi.argv = argv;
- ret = do_bootm_states(&bmi, states);
+ ret = bootm_run_states(&bmi, states);
return ret ? CMD_RET_FAILURE : 0;
}