diff options
author | Simon Glass <sjg@chromium.org> | 2025-01-10 17:00:12 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-01-22 15:58:04 -0600 |
commit | dc39ce8d90770a9abf9d464f7d29624361173c78 (patch) | |
tree | a9dfb042c5ccf62ece75a278e49b7662032172b1 /common/spl | |
parent | 957869414077efa66ca866e9fcced34ec9678a38 (diff) | |
download | u-boot-dc39ce8d90770a9abf9d464f7d29624361173c78.tar.gz |
boot: Rename fit_image_get_data()
This function can only be used with FITs that use embedded data. Rename
it so this is clear.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'common/spl')
-rw-r--r-- | common/spl/spl_fit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c index ac8462577ff..64c4349b138 100644 --- a/common/spl/spl_fit.c +++ b/common/spl/spl_fit.c @@ -289,7 +289,7 @@ static int load_simple_fit(struct spl_load_info *info, ulong fit_offset, src = src_ptr + overhead; } else { /* Embedded data */ - if (fit_image_get_data(fit, node, &data, &length)) { + if (fit_image_get_emb_data(fit, node, &data, &length)) { puts("Cannot get image data/size\n"); return -ENOENT; } |