tools: mkimage: Show where signatures/keys are written
authorSimon Glass <sjg@chromium.org>
Fri, 12 Nov 2021 19:28:13 +0000 (12:28 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 26 Jan 2022 15:50:44 +0000 (08:50 -0700)
commit2d2384bbaff0ab84c868b553c74048a5f6acc9e3
tree1edf6dbd436d0459c85a769626387dbf1c3ff93c
parent9737c2d1ebe0fe61e1f406f7158b97552b6acad2
tools: mkimage: Show where signatures/keys are written

At present mkimage displays the node information but it is not clear what
signing action was taken. Add a message that shows it. For now it only
supports showing a single signing action, since that is the common case.

Sample:

   Signature written to 'sha1-basic/test.fit',
       node '/configurations/conf-1/signature'
   Public key written to 'sha1-basic/sandbox-u-boot.dtb',
       node '/signature/key-dev'

Signed-off-by: Simon Glass <sjg@chromium.org>
include/image.h
tools/fit_common.c
tools/fit_common.h
tools/fit_image.c
tools/image-host.c
tools/imagetool.h
tools/mkimage.c