summaryrefslogtreecommitdiff
path: root/tools/fit_image.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-05-07 06:12:01 +0000
committerTom Rini <trini@ti.com>2013-05-14 15:37:25 -0400
commitbbb467dc3c79537eebc4d3551576a17f627e5e41 (patch)
treed4569a587c6da61ab22787232d19bdb134c3c351 /tools/fit_image.c
parent003efd7da48390d32956c24ab0d337ad452c83d2 (diff)
downloadu-boot-imx-bbb467dc3c79537eebc4d3551576a17f627e5e41.zip
u-boot-imx-bbb467dc3c79537eebc4d3551576a17f627e5e41.tar.gz
u-boot-imx-bbb467dc3c79537eebc4d3551576a17f627e5e41.tar.bz2
image: Rename fit_add_hashes() to fit_add_verification_data()
We intend to add signatures to FITs also, so rename this function so that it is not specific to hashing. Also rename fit_image_set_hashes() and make it static since it is not used outside this file. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'tools/fit_image.c')
-rw-r--r--tools/fit_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fit_image.c b/tools/fit_image.c
index 76bbba1..8f51159 100644
--- a/tools/fit_image.c
+++ b/tools/fit_image.c
@@ -125,7 +125,7 @@ static int fit_handle_file (struct mkimage_params *params)
}
/* set hashes for images in the blob */
- if (fit_set_hashes (ptr)) {
+ if (fit_add_verification_data(ptr)) {
fprintf (stderr, "%s Can't add hashes to FIT blob",
params->cmdname);
unlink (tmpfile);