
This argument is not used so drop it.
Signed-off-by: Simon Glass sjg@chromium.org ---
common/spl/spl.c | 2 +- common/spl/spl_upl.c | 2 +- include/spl.h | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/common/spl/spl.c b/common/spl/spl.c index 1ceb63daf31..46360ec4408 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -809,7 +809,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2) "SPL hand-off write failed (err=%d)\n", ret); } if (CONFIG_IS_ENABLED(UPL_OUT) && (gd->flags & GD_FLG_UPL)) { - ret = spl_write_upl_handoff(&spl_image); + ret = spl_write_upl_handoff(); if (ret) { printf(PHASE_PROMPT "UPL hand-off write failed (err=%d)\n", ret); diff --git a/common/spl/spl_upl.c b/common/spl/spl_upl.c index 5c68e4ab283..32c8ea62ef3 100644 --- a/common/spl/spl_upl.c +++ b/common/spl/spl_upl.c @@ -51,7 +51,7 @@ int _upl_add_image(int node, ulong load_addr, ulong size, const char *desc) return 0; }
-int spl_write_upl_handoff(struct spl_image_info *spl_image) +int spl_write_upl_handoff(void) { struct upl *upl = &s_upl; struct abuf buf; diff --git a/include/spl.h b/include/spl.h index 269e36bb441..137deb18d5e 100644 --- a/include/spl.h +++ b/include/spl.h @@ -1101,10 +1101,9 @@ static inline bool spl_decompression_enabled(void) /** * spl_write_upl_handoff() - Write a Universal Payload hand-off structure * - * @spl_image: Information about the image being booted * Return: 0 if OK, -ve on error */ -int spl_write_upl_handoff(struct spl_image_info *spl_image); +int spl_write_upl_handoff(void);
/** * spl_upl_init() - Get UPL ready for information to be added