diff options
author | Simon Glass <sjg@chromium.org> | 2013-06-13 15:10:03 -0700 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-06-26 10:18:56 -0400 |
commit | 80e4df8ac661ada5308f3bffebe4e6fae1f8e990 (patch) | |
tree | bb12060490a0747af1db2aa46eeb0532bb790397 /tools/fit_image.c | |
parent | 19c402afa2e1190f596f35a84ac049b10d814f1f (diff) | |
download | u-boot-80e4df8ac661ada5308f3bffebe4e6fae1f8e990.tar.gz |
mkimage: Add -k option to specify key directory
Keys required for signing images will be in a specific directory. Add a
-k option to specify that directory.
Also update the mkimage man page with this information and a clearer list
of available commands.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de> (v1)
Diffstat (limited to 'tools/fit_image.c')
-rw-r--r-- | tools/fit_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fit_image.c b/tools/fit_image.c index ef6ef44dc9..339e0f8dfb 100644 --- a/tools/fit_image.c +++ b/tools/fit_image.c @@ -137,7 +137,7 @@ static int fit_handle_file (struct mkimage_params *params) goto err_mmap; /* set hashes for images in the blob */ - if (fit_add_verification_data(NULL, NULL, ptr, NULL, 0)) { + if (fit_add_verification_data(params->keydir, NULL, ptr, NULL, 0)) { fprintf (stderr, "%s Can't add hashes to FIT blob", params->cmdname); goto err_add_hashes; |