diff options
| author | Simon Glass <sjg@chromium.org> | 2013-06-13 15:10:01 -0700 | 
|---|---|---|
| committer | Tom Rini <trini@ti.com> | 2013-06-26 10:18:56 -0400 | 
| commit | 56518e71041fafdfd7af3a24f263b0a22efbeda9 (patch) | |
| tree | 03327d88f29d505539dc1fd5a68f88bf16163d28 /tools/fit_image.c | |
| parent | 3e569a6b1eb7ef0c8144f8c243f9e33c834bf003 (diff) | |
| download | olio-uboot-2014.01-56518e71041fafdfd7af3a24f263b0a22efbeda9.tar.xz olio-uboot-2014.01-56518e71041fafdfd7af3a24f263b0a22efbeda9.zip | |
image: Support signing of images
Add support for signing images using a new signature node. The process
is handled by fdt_add_verification_data() which now takes parameters to
provide the keys and related information.
Signed-off-by: Simon Glass <sjg@chromium.org>
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 cc123dd37..ef6ef44dc 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(ptr)) { +	if (fit_add_verification_data(NULL, NULL, ptr, NULL, 0)) {  		fprintf (stderr, "%s Can't add hashes to FIT blob",  				params->cmdname);  		goto err_add_hashes; |