]> git.sur5r.net Git - u-boot/blobdiff - tools/fit_image.c
mkimage: Add -c option to specify a comment for key signing
[u-boot] / tools / fit_image.c
index 645e93c346e15e4e2756bbd395adbb160fe1ed65..d48f571b0f961b8ef27e8f21c4b501a3501adfc8 100644 (file)
@@ -153,9 +153,9 @@ static int fit_handle_file (struct mkimage_params *params)
 
        /* set hashes for images in the blob */
        if (fit_add_verification_data(params->keydir, dest_blob, ptr,
-                                     NULL, 0)) {
+                                     params->comment, 0)) {
                fprintf (stderr, "%s Can't add hashes to FIT blob",
-                               params->cmdname);
+                        params->cmdname);
                goto err_add_hashes;
        }