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>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user