summaryrefslogtreecommitdiff
path: root/boot/bootm.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-11-18 14:05:12 -0700
committerTom Rini <trini@konsulko.com>2023-12-13 11:51:24 -0500
commit96456285c28138999c095dd64a259bdc6c98ec8b (patch)
tree5605d4b4420ab47d9f8a2831b74a1f2d5e5a9989 /boot/bootm.c
parent745367b218c024dfcde72c37d15da88918e37e18 (diff)
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>
Diffstat (limited to 'boot/bootm.c')
-rw-r--r--boot/bootm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/boot/bootm.c b/boot/bootm.c
index ae3fceb392d..aae097df0c7 100644
--- a/boot/bootm.c
+++ b/boot/bootm.c
@@ -563,8 +563,7 @@ int bootm_find_images(int flag, int argc, char *const argv[], ulong start,
}
/* find all of the loadables */
- ret = boot_get_loadable(argc, argv, &images, IH_ARCH_DEFAULT,
- NULL, NULL);
+ ret = boot_get_loadable(&images);
if (ret) {
printf("Loadable(s) is corrupt or invalid\n");
return 1;