]> git.sur5r.net Git - u-boot/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)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:29 +0000 (17:39 -0600)
commit92a655c326b22de58dcd5371ca1a62fdc57f8e04
treec4be6e5c792223d25a44f667a47e533a91bbfddc
parentaea3d40d05f0eb8627ac0999315cad5c4b3676f5
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