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>
This commit is contained in:
Simon Glass
2023-12-15 20:14:19 -07:00
committed by Tom Rini
parent a6c49161cb
commit b5d397f489
6 changed files with 11 additions and 11 deletions

View File

@@ -34,7 +34,7 @@ static int booti_start(struct bootm_info *bmi)
unsigned long decomp_len;
int ctype;
ret = do_bootm_states(bmi, BOOTM_STATE_START);
ret = bootm_run_states(bmi, BOOTM_STATE_START);
/* Setup Linux kernel Image entry point */
if (!bmi->addr_img) {
@@ -141,7 +141,7 @@ int do_booti(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;
}