summaryrefslogtreecommitdiff
path: root/common/update.c
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 /common/update.c
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 'common/update.c')
-rw-r--r--common/update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/update.c b/common/update.c
index 94d6a82..87941ec 100644
--- a/common/update.c
+++ b/common/update.c
@@ -297,7 +297,7 @@ got_update_file:
printf("Processing update '%s' :",
fit_get_name(fit, noffset, NULL));
- if (!fit_image_check_hashes(fit, noffset)) {
+ if (!fit_image_verify(fit, noffset)) {
printf("Error: invalid update hash, aborting\n");
ret = 1;
goto next_node;