]> git.ipfire.org Git - thirdparty/u-boot.git/commit
bootm: Adjust the parameters of bootm_find_images()
authorSimon Glass <sjg@chromium.org>
Sat, 18 Nov 2023 21:05:16 +0000 (14:05 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 13 Dec 2023 16:51:24 +0000 (11:51 -0500)
commit3ac85bdc6a6cc5bc8a93ad91b330015ad8355cb2
tree94ba6d2923df10971f27a98dd2ff9296e6b1ecb3
parentb020254d71ed0873baddb9b9bc6ec5bf1e82b26c
bootm: Adjust the parameters of bootm_find_images()

Rather than passing it all the command-line args, pass in the pieces
that it needs. These are the image address, the ramdisk address/name
and the FDT address/name.

Ultimately this will allow usage of this function without being called
from the command line.

Move the function comment to the header file and tidy it a little.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootm.c
cmd/booti.c
cmd/bootz.c
include/bootm.h