summaryrefslogtreecommitdiffstats
path: root/tools/mkimage.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-06-13 15:10:06 -0700
committerTom Rini <trini@ti.com>2013-06-26 10:18:56 -0400
commit4f6104270146c76fcaf46e951f84cdc1612a04b7 (patch)
tree23f9a472a578c01b36ffd74b1c31b816e4475cf8 /tools/mkimage.h
parent95d77b4479f9d07aea114fd4253cd665bb48ea10 (diff)
downloadtalos-obmc-uboot-4f6104270146c76fcaf46e951f84cdc1612a04b7.tar.gz
talos-obmc-uboot-4f6104270146c76fcaf46e951f84cdc1612a04b7.zip
mkimage: Add -c option to specify a comment for key signing
When signing an image, it is useful to add some details about which tool or person is authorising the signing. Add a comment field which can take care of miscellaneous requirements. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'tools/mkimage.h')
-rw-r--r--tools/mkimage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/mkimage.h b/tools/mkimage.h
index 63b9b4f8be..ab8baf8f05 100644
--- a/tools/mkimage.h
+++ b/tools/mkimage.h
@@ -89,6 +89,7 @@ struct mkimage_params {
char *cmdname;
const char *keydir; /* Directory holding private keys */
const char *keydest; /* Destination .dtb for public key */
+ const char *comment; /* Comment to add to signature node */
};
/*
OpenPOWER on IntegriCloud