summaryrefslogtreecommitdiff
path: root/include/image.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-05-07 06:11:57 +0000
committerTom Rini <trini@ti.com>2013-05-14 15:37:25 -0400
commitb8da8366500f7a88f1f5117f22f713fe920bcdd9 (patch)
tree1d318bff195eba6aa99b7cde7758c3f3641b2f38 /include/image.h
parentb7260910dca95b8a608d3721e0584484e887d756 (diff)
downloadu-boot-imx-b8da8366500f7a88f1f5117f22f713fe920bcdd9.zip
u-boot-imx-b8da8366500f7a88f1f5117f22f713fe920bcdd9.tar.gz
u-boot-imx-b8da8366500f7a88f1f5117f22f713fe920bcdd9.tar.bz2
image: Rename fit_image_check_hashes() to fit_image_verify()
This is the main entry point to the FIT image verification code. We will be using it to handle image verification with signatures, so rename the function. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/image.h b/include/image.h
index dc8f8b1..59e8064 100644
--- a/include/image.h
+++ b/include/image.h
@@ -615,8 +615,8 @@ int fit_set_timestamp(void *fit, int noffset, time_t timestamp);
int fit_set_hashes(void *fit);
int fit_image_set_hashes(void *fit, int image_noffset);
-int fit_image_check_hashes(const void *fit, int noffset);
-int fit_all_image_check_hashes(const void *fit);
+int fit_image_verify(const void *fit, int noffset);
+int fit_all_image_verify(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);