]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spl: Drop unwanted return in spl_fit_upload_fpga()
authorSimon Glass <sjg@chromium.org>
Tue, 24 Jan 2023 10:55:10 +0000 (03:55 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 6 Feb 2023 18:04:53 +0000 (13:04 -0500)
This was added by mistake and renders the function useless. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: 33c60a38bb9 ("trace: Use notrace for short")
Reported-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier-oss@weidmueller.com>
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
common/spl/spl_fit.c

index 9ae3e5e35d415bbde127e694ec443fdb2b1c2e3a..c51482b3b6594270bf8732683b9a320c5680cb72 100644 (file)
@@ -591,7 +591,6 @@ static int spl_fit_upload_fpga(struct spl_fit_info *ctx, int node,
                        debug("Ignoring compatible = %s property\n",
                              compatible);
        }
-       return 0;
 
        ret = fpga_load(devnum, (void *)fpga_image->load_addr,
                        fpga_image->size, BIT_FULL, flags);