aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-01-10 17:00:13 -0700
committerTom Rini <trini@konsulko.com>2025-01-22 15:58:04 -0600
commitc83e71064e9b85743a79978c79b01a0f2dc1e90b (patch)
treeea4e8c10c8bab6ad8fdf8a147a5e3e00a6291cbb /cmd
parentdc39ce8d90770a9abf9d464f7d29624361173c78 (diff)
downloadu-boot-c83e71064e9b85743a79978c79b01a0f2dc1e90b.tar.gz
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 'cmd')
-rw-r--r--cmd/ximg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/ximg.c b/cmd/ximg.c
index 1c96f5a0a1f..29d7c3279b3 100644
--- a/cmd/ximg.c
+++ b/cmd/ximg.c
@@ -161,8 +161,7 @@ do_imgextract(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
}
/* get subimage/external 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;
}