summaryrefslogtreecommitdiff
path: root/include/image.h
diff options
context:
space:
mode:
authorKelvin Cheung <keguang.zhang@gmail.com>2018-05-19 18:21:37 +0800
committerTom Rini <trini@konsulko.com>2018-05-26 18:19:19 -0400
commitc3c863880479edeb5b08226e622d13c91326e4a7 (patch)
treecbf28525f1b99b2e3415ddbe38934f372510e0eb /include/image.h
parentee038c58d5196dc2eb2be7e08e766c50a7bc2619 (diff)
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 <keguang.zhang@gmail.com>
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h2
1 files changed, 2 insertions, 0 deletions
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,