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>
This commit is contained in:
Simon Glass
2025-01-10 17:00:13 -07:00
committed by Tom Rini
parent dc39ce8d90
commit c83e71064e
5 changed files with 15 additions and 18 deletions

View File

@@ -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