summaryrefslogtreecommitdiff
path: root/include/image.h
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2025-01-10 17:00:13 -0700
committerTom Rini <[email protected]>2025-01-22 15:58:04 -0600
commitc83e71064e9b85743a79978c79b01a0f2dc1e90b (patch)
treeea4e8c10c8bab6ad8fdf8a147a5e3e00a6291cbb /include/image.h
parentdc39ce8d90770a9abf9d464f7d29624361173c78 (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 <[email protected]>
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/image.h b/include/image.h
index e54e2190af5..50c44118ebc 100644
--- a/include/image.h
+++ b/include/image.h
@@ -1168,8 +1168,8 @@ int fit_image_get_data_position(const void *fit, int noffset,
int fit_image_get_data_size(const void *fit, int noffset, int *data_size);
int fit_image_get_data_size_unciphered(const void *fit, int noffset,
size_t *data_size);
-int fit_image_get_data_and_size(const void *fit, int noffset,
- const void **data, size_t *size);
+int fit_image_get_data(const void *fit, int noffset, const void **data,
+ size_t *size);
/**
* fit_image_get_phase() - Get the phase from a FIT image