summaryrefslogtreecommitdiff
path: root/common/spl
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-01-24 03:55:10 -0700
committerTom Rini <trini@konsulko.com>2023-02-06 13:04:53 -0500
commit69a3e0779aab4ca4a2f6280fcbfd85bab5ae4256 (patch)
tree5566d42ee4d432c00caeac13b6f4e0bb85930445 /common/spl
parent4599bb7d79463da7e53b8920c759ad2a172ae2a5 (diff)
downloadu-boot-69a3e0779aab4ca4a2f6280fcbfd85bab5ae4256.tar.gz
spl: Drop unwanted return in spl_fit_upload_fpga()
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>
Diffstat (limited to 'common/spl')
-rw-r--r--common/spl/spl_fit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c
index 9ae3e5e35d..c51482b3b6 100644
--- a/common/spl/spl_fit.c
+++ b/common/spl/spl_fit.c
@@ -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);