From c3c863880479edeb5b08226e622d13c91326e4a7 Mon Sep 17 00:00:00 2001 From: Kelvin Cheung Date: Sat, 19 May 2018 18:21:37 +0800 Subject: add FIT data-position & data-offset property support Add FIT data-position & data-offset property support for bootm, which were already supported in SPL. Signed-off-by: Kelvin Cheung --- include/image.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/image.h') diff --git a/include/image.h b/include/image.h index 9522ee4d25..95d5934344 100644 --- a/include/image.h +++ b/include/image.h @@ -988,6 +988,8 @@ int fit_image_get_data_offset(const void *fit, int noffset, int *data_offset); int fit_image_get_data_position(const void *fit, int noffset, int *data_position); int fit_image_get_data_size(const void *fit, int noffset, int *data_size); +int fit_image_get_data_and_size(const void *fit, int noffset, + const void **data, size_t *size); int fit_image_hash_get_algo(const void *fit, int noffset, char **algo); int fit_image_hash_get_value(const void *fit, int noffset, uint8_t **value, -- cgit