]> git.dujemihanovic.xyz Git - u-boot.git/commit
mkimage: Allow updating the FIT timestamp
authorSimon Glass <sjg@chromium.org>
Fri, 10 Jul 2020 00:39:43 +0000 (18:39 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 20 Jul 2020 17:37:47 +0000 (11:37 -0600)
commit4c63d21754a2583df1d85d3af6f0a5bf5c300d20
treeb68e81534295133503f11ee2e1e1ceaae50d227c
parent8200d8871a6a87834e26e38ca5cd475f86733dfd
mkimage: Allow updating the FIT timestamp

Normally the FIT timestamp is created the first time mkimage is run on a
FIT, when converting the source .its to the binary .fit file. This
corresponds to using the -f flag. But if the original input to mkimage is
a binary file (already compiled) then the timestamp is assumed to have
been set previously.

Add a -t flag to allow setting the timestamp in this case.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
doc/mkimage.1
tools/fit_image.c
tools/imagetool.h
tools/mkimage.c