aboutsummaryrefslogtreecommitdiff
path: root/common/cmd_ximg.c
diff options
context:
space:
mode:
authorSimon Glass2013-05-07 06:11:57 +0000
committerTom Rini2013-05-14 15:37:25 -0400
commitb8da8366500f7a88f1f5117f22f713fe920bcdd9 (patch)
tree1d318bff195eba6aa99b7cde7758c3f3641b2f38 /common/cmd_ximg.c
parentb7260910dca95b8a608d3721e0584484e887d756 (diff)
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/cmd_ximg.c')
-rw-r--r--common/cmd_ximg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_ximg.c b/common/cmd_ximg.c
index 02084b02040..270e8030992 100644
--- a/common/cmd_ximg.c
+++ b/common/cmd_ximg.c
@@ -162,7 +162,7 @@ do_imgextract(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
/* verify integrity */
if (verify) {
- if (!fit_image_check_hashes(fit_hdr, noffset)) {
+ if (!fit_image_verify(fit_hdr, noffset)) {
puts("Bad Data Hash\n");
return 1;
}