summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorWojciech Dubowik <[email protected]>2026-02-20 10:15:13 +0100
committerSimon Glass <[email protected]>2026-03-18 06:14:17 -0600
commit84432436bf564adc5f48ea81672ee8d5b374cb3d (patch)
tree3df99ef2d3b7d2cd120bf7f3aaf6e84b2080cc6f /tools
parenta8c8ebc8064183921ed419130df229a9d5d43192 (diff)
tools: mkeficapsule: Fix dump signature long option
Only short option has been present. Also rename dump_sig to dump-sig to match with other parameter names. Fixes: 16abff246b40 ("tools: mkeficapsule: add firmware image signing") Signed-off-by: Wojciech Dubowik <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'tools')
-rw-r--r--tools/binman/btool/mkeficapsule.py2
-rw-r--r--tools/mkeficapsule.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/tools/binman/btool/mkeficapsule.py b/tools/binman/btool/mkeficapsule.py
index f7e5a886849..f2ac654db81 100644
--- a/tools/binman/btool/mkeficapsule.py
+++ b/tools/binman/btool/mkeficapsule.py
@@ -16,7 +16,7 @@ Options:
-p, --private-key <privkey file> private key file
-c, --certificate <cert file> signer's certificate file
-m, --monotonic-count <count> monotonic count
- -d, --dump_sig dump signature (*.p7)
+ -d, --dump-sig dump signature to <output file>.p7
-A, --fw-accept firmware accept capsule, requires GUID, no image blob
-R, --fw-revert firmware revert capsule, takes no GUID, no image blob
-o, --capoemflag Capsule OEM Flag, an integer between 0x0000 and 0xffff
diff --git a/tools/mkeficapsule.c b/tools/mkeficapsule.c
index a0ee76295a1..ec640c57e8a 100644
--- a/tools/mkeficapsule.c
+++ b/tools/mkeficapsule.c
@@ -56,6 +56,7 @@ static struct option options[] = {
{"fw-revert", no_argument, NULL, 'R'},
{"capoemflag", required_argument, NULL, 'o'},
{"dump-capsule", no_argument, NULL, 'D'},
+ {"dump-sig", no_argument, NULL, 'd'},
{"help", no_argument, NULL, 'h'},
{NULL, 0, NULL, 0},
};
@@ -83,7 +84,7 @@ static void print_usage_mkeficapsule(void)
"\t-p, --private-key <privkey file> private key file\n"
"\t-c, --certificate <cert file> signer's certificate file\n"
"\t-m, --monotonic-count <count> monotonic count\n"
- "\t-d, --dump_sig dump signature (*.p7)\n"
+ "\t-d, --dump-sig dump signature to <output file>.p7\n"
"\t-A, --fw-accept firmware accept capsule, requires GUID, no image blob\n"
"\t-R, --fw-revert firmware revert capsule, takes no GUID, no image blob\n"
"\t-o, --capoemflag Capsule OEM Flag, an integer between 0x0000 and 0xffff\n"