summaryrefslogtreecommitdiff
path: root/boot/bootm.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-11-18 14:05:11 -0700
committerTom Rini <trini@konsulko.com>2023-12-13 11:51:24 -0500
commit745367b218c024dfcde72c37d15da88918e37e18 (patch)
treecb569e0473b5479be732720d661d9fdafadc17f1 /boot/bootm.c
parent0aa923aba53ecf6a9baf36dc6e81cd25c41cd718 (diff)
bootm: Reduce arguments to boot_get_fpga()
This function only uses two arguments. The 'arch' always has a constant value, so drop it. This simplifies the function call. 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 5dc9cdeb244..ae3fceb392d 100644
--- a/boot/bootm.c
+++ b/boot/bootm.c
@@ -555,8 +555,7 @@ int bootm_find_images(int flag, int argc, char *const argv[], ulong start,
#if CONFIG_IS_ENABLED(FIT)
if (IS_ENABLED(CONFIG_FPGA)) {
/* find bitstreams */
- ret = boot_get_fpga(argc, argv, &images, IH_ARCH_DEFAULT,
- NULL, NULL);
+ ret = boot_get_fpga(&images);
if (ret) {
printf("FPGA image is corrupted or invalid\n");
return 1;