]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mkimage: Set up a file size parameter and keep it updated
authorSimon Glass <sjg@chromium.org>
Tue, 23 Jun 2015 21:39:12 +0000 (15:39 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:48:54 +0000 (13:48 +0200)
commita886a652b459f2a47e2d7c7c620b1f05337d5ba3
treeb5c7f5b53e93033c69cbf4c691562def5e06385a
parentf8e282e4e0b4e6041d2969ac6ad5ae3c12cddbed
mkimage: Set up a file size parameter and keep it updated

Some functions called by mkimage would like to know the output file size.
Initially this is the same as the input file size, but it may be affected by
adding headers, etc.

Add this information to the image parameters.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
tools/imagetool.h
tools/mkimage.c