diff mbox series

Minor update in U-boot - FIT image check signature tool

Message ID CANg5h30x=7AXLZW6O9cj1HcdRhgTxLC_HzvBHdpq6BU7nCk2iA@mail.gmail.com
State Accepted
Delegated to: Tom Rini
Headers show
Series Minor update in U-boot - FIT image check signature tool | expand

Commit Message

Ilies CHERGUI Jan. 17, 2021, 3:56 p.m. UTC
Hey guys,

I hope you are doing well.
Happy new year.

I have a small patch to apply in u-boot concerning the tool for FIT image
check signature (please see the attached file).

Have a nice weekend.

Best regards

*------------------------------------*

*M. Ilies CHERGUI*

*Senior Embedded Software Engineer *

*Mobile : *+44 7309 350477

*E-mail :* ilies.chergui@gmail.com

*------------------------------------*
diff mbox series

Patch

From fa84f03114a07ed204d793a3d0ca48064bb2f3dd Mon Sep 17 00:00:00 2001
From: Ilies CHERGUI <ilies.chergui@gmail.com>
Date: Sun, 17 Jan 2021 15:52:16 +0000
Subject: [PATCH] tools/fit_check_sign.c: Update usage function.

Add "-c" option to set the configuration name when
checking the FIT image signature.

Signed-off-by: Ilies CHERGUI <ilies.chergui@gmail.com>
---
 tools/fit_check_sign.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tools/fit_check_sign.c b/tools/fit_check_sign.c
index 9375d5cf72..5573842d25 100644
--- a/tools/fit_check_sign.c
+++ b/tools/fit_check_sign.c
@@ -25,9 +25,10 @@ 
 
 void usage(char *cmdname)
 {
-	fprintf(stderr, "Usage: %s -f fit file -k key file\n"
+	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 file which contains the key'\n"
+			 "          -c ==> set the configuration name'\n",
 		cmdname);
 	exit(EXIT_FAILURE);
 }
-- 
2.17.1