]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootm: Adjust arguments of boot_os_fn
authorSimon Glass <sjg@chromium.org>
Sat, 16 Dec 2023 03:14:13 +0000 (20:14 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 21 Dec 2023 21:07:52 +0000 (16:07 -0500)
commita48336e5ea19ca0d32dfff1c4eaeececa8d2f570
treef91a41bf86cfbfdb9163f55a024c9ce7946293ef
parentc49216253d4357500a96b849bc3a02896093a9a9
bootm: Adjust arguments of boot_os_fn

Adjust boot_os_fn to use struct bootm_info instead of the separate
argc, argv and image parameters. Update the handlers accordingly. Few
of the functions make use of the arguments, so this improves code size
slightly.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
15 files changed:
arch/arc/lib/bootm.c
arch/arm/lib/bootm.c
arch/m68k/lib/bootm.c
arch/microblaze/lib/bootm.c
arch/mips/lib/bootm.c
arch/nios2/lib/bootm.c
arch/powerpc/lib/bootm.c
arch/riscv/lib/bootm.c
arch/sandbox/lib/bootm.c
arch/sh/lib/bootm.c
arch/x86/lib/bootm.c
arch/xtensa/lib/bootm.c
boot/bootm.c
boot/bootm_os.c
include/bootm.h