diff options
author | Simon Glass <sjg@chromium.org> | 2025-01-10 17:00:13 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-01-22 15:58:04 -0600 |
commit | c83e71064e9b85743a79978c79b01a0f2dc1e90b (patch) | |
tree | ea4e8c10c8bab6ad8fdf8a147a5e3e00a6291cbb /boot/image-board.c | |
parent | dc39ce8d90770a9abf9d464f7d29624361173c78 (diff) |
boot: Rename fit_image_get_data_and_size()
This function is really just getting the data. The size comes along for
the ride. In fact this function is only reliable way to obtain the data
for an image in a FIT, since the FIT may use external data.
Rename it to fit_image_get_data()
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/image-board.c')
-rw-r--r-- | boot/image-board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/image-board.c b/boot/image-board.c index b726bd6b303..458153b40bd 100644 --- a/boot/image-board.c +++ b/boot/image-board.c @@ -1083,8 +1083,8 @@ fallback: } /* get script subimage data address and length */ - if (fit_image_get_data_and_size(fit_hdr, noffset, - &fit_data, &fit_len)) { + if (fit_image_get_data(fit_hdr, noffset, &fit_data, + &fit_len)) { puts("Could not find script subimage data\n"); return 1; } |