diff options
author | Simon Glass <sjg@chromium.org> | 2023-12-15 20:14:19 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-12-21 16:07:52 -0500 |
commit | b5d397f4898ce03fc241aeb2a4a82bbcdd455b44 (patch) | |
tree | fe4c542fe9f8cf4815c11de0d886f067db13e276 /boot | |
parent | a6c49161cb2f6c7ddfc0a76747ac9bf6307fb9d2 (diff) | |
download | u-boot-b5d397f4898ce03fc241aeb2a4a82bbcdd455b44.zip u-boot-b5d397f4898ce03fc241aeb2a4a82bbcdd455b44.tar.gz u-boot-b5d397f4898ce03fc241aeb2a4a82bbcdd455b44.tar.bz2 |
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 'boot')
-rw-r--r-- | boot/bootm.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ unmap_image: 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 @@ int bootm_boot_start(ulong addr, const char *cmdline) 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; } |