]> git.ipfire.org Git - thirdparty/u-boot.git/commit
bootm: Reduce arguments to boot_get_loadables()
authorSimon Glass <sjg@chromium.org>
Sat, 18 Nov 2023 21:05:12 +0000 (14:05 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 13 Dec 2023 16:51:24 +0000 (11:51 -0500)
commit96456285c28138999c095dd64a259bdc6c98ec8b
tree5605d4b4420ab47d9f8a2831b74a1f2d5e5a9989
parent745367b218c024dfcde72c37d15da88918e37e18
bootm: Reduce arguments to boot_get_loadables()

This function only uses two arguments. The 'arch' always has a constant
value, so drop it. This simplifies the function call.

Tidy up the function comment while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
boot/bootm.c
boot/image-board.c
include/image.h