summaryrefslogtreecommitdiff
path: root/include/image.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-01-16 20:23:14 -0500
committerTom Rini <trini@konsulko.com>2017-01-16 20:23:14 -0500
commitf253f2933b7373556329c0174dd5b101039a4056 (patch)
treeccd88584899bdc9a66d2d20ab422acac29ab1799 /include/image.h
parent035ebf85b09cf11c820ae9eec414097420741abd (diff)
parent3b593f9030bae149af9261f51933805be506f6b1 (diff)
downloadu-boot-f253f2933b7373556329c0174dd5b101039a4056.tar.gz
u-boot-f253f2933b7373556329c0174dd5b101039a4056.tar.bz2
u-boot-f253f2933b7373556329c0174dd5b101039a4056.zip
Merge branch 'master' of git://git.denx.de/u-boot-video
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h
index 6207d62d3c..164b584533 100644
--- a/include/image.h
+++ b/include/image.h
@@ -872,6 +872,8 @@ int bootz_setup(ulong image, ulong *start, ulong *end);
/* image node */
#define FIT_DATA_PROP "data"
+#define FIT_DATA_OFFSET_PROP "data-offset"
+#define FIT_DATA_SIZE_PROP "data-size"
#define FIT_TIMESTAMP_PROP "timestamp"
#define FIT_DESC_PROP "description"
#define FIT_ARCH_PROP "arch"
@@ -950,6 +952,8 @@ int fit_image_get_load(const void *fit, int noffset, ulong *load);
int fit_image_get_entry(const void *fit, int noffset, ulong *entry);
int fit_image_get_data(const void *fit, int noffset,
const void **data, size_t *size);
+int fit_image_get_data_offset(const void *fit, int noffset, int *data_offset);
+int fit_image_get_data_size(const void *fit, int noffset, int *data_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,