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:
@@ -876,7 +876,7 @@ static int fit_image_extract(
|
||||
int ret;
|
||||
|
||||
/* get the data address and size of component at offset "image_noffset" */
|
||||
ret = fit_image_get_data_and_size(fit, image_noffset, &file_data, &file_size);
|
||||
ret = fit_image_get_data(fit, image_noffset, &file_data, &file_size);
|
||||
if (ret) {
|
||||
fprintf(stderr, "Could not get component information\n");
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user