]> git.baikalelectronics.ru Git - uboot.git/commit
mkimage: Add a 'keyfile' argument for image signing
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Fri, 19 Feb 2021 18:45:17 +0000 (12:45 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 14 Apr 2021 19:23:01 +0000 (15:23 -0400)
commit7abb861c1664e72806324178aa1fc71e95803958
tree03d50859acde65af4076bd5565c71e3ae765a3c7
parent68bb86b12ca18646147a4ba16af8d8ef91aff963
mkimage: Add a 'keyfile' argument for image signing

It's not always desirable to use 'keydir' and some ad-hoc heuristics
to get the filename of the signing key. More often, just passing the
filename is the simpler, easier, and logical thing to do.

Since mkimage doesn't use long options, we're slowly running out of
letters. I've chosen '-G' because it was available.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/image.h
tools/fit_image.c
tools/image-host.c
tools/imagetool.h
tools/mkimage.c