aboutsummaryrefslogtreecommitdiff
path: root/include/bootm.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-12-15 20:14:20 -0700
committerTom Rini <trini@konsulko.com>2023-12-21 16:07:52 -0500
commit725ddf1f24f7d08aa344f64d06c62cf5f50a6b6c (patch)
tree6e62207676bac6f3ddc21d93c42c5592ed1a9061 /include/bootm.h
parentb5d397f4898ce03fc241aeb2a4a82bbcdd455b44 (diff)
downloadu-boot-725ddf1f24f7d08aa344f64d06c62cf5f50a6b6c.zip
u-boot-725ddf1f24f7d08aa344f64d06c62cf5f50a6b6c.tar.gz
u-boot-725ddf1f24f7d08aa344f64d06c62cf5f50a6b6c.tar.bz2
bootm: Tidy up boot_selected_os()
Use struct bootm_info with this function, to avoiding needing to create a new one. 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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/bootm.h b/include/bootm.h
index dbf883b..628d3d3 100644
--- a/include/bootm.h
+++ b/include/bootm.h
@@ -91,8 +91,7 @@ boot_os_fn *bootm_os_get_boot_func(int os);
int bootm_host_load_images(const void *fit, int cfg_noffset);
#endif
-int boot_selected_os(int argc, char *const argv[], int state,
- struct bootm_headers *images, boot_os_fn *boot_fn);
+int boot_selected_os(int state, struct bootm_info *bmi, boot_os_fn *boot_fn);
ulong bootm_disable_interrupts(void);