summaryrefslogtreecommitdiffstats
path: root/include/bootm.h
diff options
context:
space:
mode:
authorKarl Apsite <Karl.Apsite@dornerworks.com>2015-05-21 09:52:49 -0400
committerTom Rini <trini@konsulko.com>2015-05-28 08:18:21 -0400
commitd52e8575d9a4244992cd69e717affc97ea6e9b36 (patch)
tree5059a114ba921fe78a60001a88116bdd9ad666d8 /include/bootm.h
parent84a07dbfd8e916788d685a4227f9a4e770375ffd (diff)
downloadtalos-obmc-uboot-d52e8575d9a4244992cd69e717affc97ea6e9b36.tar.gz
talos-obmc-uboot-d52e8575d9a4244992cd69e717affc97ea6e9b36.zip
Combine bootm_find_<thing> functions together
bootm_find_ramdisk_fdt() renamed to bootm_find_images() for readability. The function bootm_find_ramdisk_fdt() appears to be a simple wrapper for bootm_find_ramdisk(), bootm_find_fdt(), and now bootm_find_loadables(). I didn't see any other callers entering a bootm_find<thing>, so removing the wrapper, and condensing these together hopefully makes the code a little simpler. Signed-off-by: Karl Apsite <Karl.Apsite@dornerworks.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/bootm.h')
-rw-r--r--include/bootm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bootm.h b/include/bootm.h
index 6181488769..49813772ce 100644
--- a/include/bootm.h
+++ b/include/bootm.h
@@ -49,7 +49,7 @@ int boot_selected_os(int argc, char * const argv[], int state,
ulong bootm_disable_interrupts(void);
/* This is a special function used by booti/bootz */
-int bootm_find_ramdisk_fdt(int flag, int argc, char * const argv[]);
+int bootm_find_images(int flag, int argc, char * const argv[]);
int do_bootm_states(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[],
int states, bootm_headers_t *images, int boot_progress);
OpenPOWER on IntegriCloud