aboutsummaryrefslogtreecommitdiff
path: root/include/bootm.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-12-15 20:14:19 -0700
committerTom Rini <trini@konsulko.com>2023-12-21 16:07:52 -0500
commitb5d397f4898ce03fc241aeb2a4a82bbcdd455b44 (patch)
treefe4c542fe9f8cf4815c11de0d886f067db13e276 /include/bootm.h
parenta6c49161cb2f6c7ddfc0a76747ac9bf6307fb9d2 (diff)
downloadu-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 'include/bootm.h')
-rw-r--r--include/bootm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/bootm.h b/include/bootm.h
index 8010d2f..dbf883b 100644
--- a/include/bootm.h
+++ b/include/bootm.h
@@ -132,7 +132,7 @@ int bootm_find_images(ulong img_addr, const char *conf_ramdisk,
int bootm_measure(struct bootm_headers *images);
/**
- * do_bootm_states() - Execute selected states of the bootm command.
+ * bootm_run_states() - Execute selected states of the bootm command.
*
* Note that if states contains more than one flag it MUST contain
* BOOTM_STATE_START, since this handles the addr_fit, conf_ramdisk and conf_fit
@@ -149,7 +149,7 @@ int bootm_measure(struct bootm_headers *images);
* then the intent is to boot an OS, so this function will not return
* unless the image type is standalone.
*/
-int do_bootm_states(struct bootm_info *bmi, int states);
+int bootm_run_states(struct bootm_info *bmi, int states);
void arch_preboot_os(void);