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:
@@ -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
|
||||
|
Reference in New Issue
Block a user