mirror of
https://xff.cz/git/u-boot/
synced 2025-09-26 21:11:18 +02:00
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>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user