summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBartlomiej Sieka <tur@semihalf.com>2008-09-09 12:58:15 +0200
committerWolfgang Denk <wd@denx.de>2008-09-09 15:58:11 +0200
commit919f550dc11a13abf01c6bc713c968de790b8d7c (patch)
tree6e4beb27c0f4c2cad5f119cdc2d1adf7c235ed33 /include
parent1de1fa408967cef6804bb046b904114519bb36f0 (diff)
downloadu-boot-imx-919f550dc11a13abf01c6bc713c968de790b8d7c.zip
u-boot-imx-919f550dc11a13abf01c6bc713c968de790b8d7c.tar.gz
u-boot-imx-919f550dc11a13abf01c6bc713c968de790b8d7c.tar.bz2
FIT: add ability to check hashes of all images in FIT, improve output
- add function fit_all_image_check_hashes() that verifies if all hashes of all images in the FIT are valid - improve output of fit_image_check_hashes() when the hash check fails Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
Diffstat (limited to 'include')
-rw-r--r--include/image.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h
index 4654485..8c63686 100644
--- a/include/image.h
+++ b/include/image.h
@@ -574,6 +574,7 @@ int fit_image_hash_set_value (void *fit, int noffset, uint8_t *value,
int value_len);
int fit_image_check_hashes (const void *fit, int noffset);
+int fit_all_image_check_hashes (const void *fit);
int fit_image_check_os (const void *fit, int noffset, uint8_t os);
int fit_image_check_arch (const void *fit, int noffset, uint8_t arch);
int fit_image_check_type (const void *fit, int noffset, uint8_t type);