]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootm: Tidy up boot_selected_os()
authorSimon Glass <sjg@chromium.org>
Sat, 16 Dec 2023 03:14:20 +0000 (20:14 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 21 Dec 2023 21:07:52 +0000 (16:07 -0500)
commit725ddf1f24f7d08aa344f64d06c62cf5f50a6b6c
tree6e62207676bac6f3ddc21d93c42c5592ed1a9061
parentb5d397f4898ce03fc241aeb2a4a82bbcdd455b44
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>
boot/bootm.c
boot/bootm_os.c
include/bootm.h