fit_check_sign: Update help to mention the key is in a dtb
The key is inside a dtb file, so tweak the help to make that clear. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
c3675583e9
commit
195f7893da
@ -27,7 +27,7 @@ void usage(char *cmdname)
|
|||||||
{
|
{
|
||||||
fprintf(stderr, "Usage: %s -f fit file -k key file -c config name\n"
|
fprintf(stderr, "Usage: %s -f fit file -k key file -c config name\n"
|
||||||
" -f ==> set fit file which should be checked'\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",
|
" -c ==> set the configuration name'\n",
|
||||||
cmdname);
|
cmdname);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
@ -89,7 +89,7 @@ int main(int argc, char **argv)
|
|||||||
fprintf(stderr, "Signature check OK\n");
|
fprintf(stderr, "Signature check OK\n");
|
||||||
} else {
|
} else {
|
||||||
ret = EXIT_FAILURE;
|
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);
|
(void) munmap((void *)fit_blob, fsbuf.st_size);
|
||||||
|
Loading…
Reference in New Issue
Block a user