summaryrefslogtreecommitdiff
path: root/common/image.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/image.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/image.c')
-rw-r--r--common/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image.c b/common/image.c
index 3aefd2a..7412a0e 100644
--- a/common/image.c
+++ b/common/image.c
@@ -1210,7 +1210,7 @@ static int fit_check_fdt(const void *fit, int fdt_noffset, int verify)
if (verify) {
puts(" Verifying Hash Integrity ... ");
- if (!fit_image_check_hashes(fit, fdt_noffset)) {
+ if (!fit_image_verify(fit, fdt_noffset)) {
fdt_error("Bad Data Hash");
return 0;
}