fit_check_sign: Update help to mention the key is in a dtb
authorSimon Glass <sjg@chromium.org>
Fri, 12 Nov 2021 19:28:03 +0000 (12:28 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 26 Jan 2022 15:50:42 +0000 (08:50 -0700)
The key is inside a dtb file, so tweak the help to make that clear.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/fit_check_sign.c

index 5573842..3d1d33f 100644 (file)
@@ -27,7 +27,7 @@ void usage(char *cmdname)
 {
        fprintf(stderr, "Usage: %s -f fit file -k key file -c config name\n"
                         "          -f ==> set fit file which should be checked'\n"
-                        "          -k ==> set key file which contains the key'\n"
+                        "          -k ==> set key .dtb file which contains the key'\n"
                         "          -c ==> set the configuration name'\n",
                cmdname);
        exit(EXIT_FAILURE);
@@ -89,7 +89,7 @@ int main(int argc, char **argv)
                fprintf(stderr, "Signature check OK\n");
        } else {
                ret = EXIT_FAILURE;
-               fprintf(stderr, "Signature check Bad (error %d)\n", ret);
+               fprintf(stderr, "Signature check bad (error %d)\n", ret);
        }
 
        (void) munmap((void *)fit_blob, fsbuf.st_size);