diff options
author | Simon Glass <sjg@chromium.org> | 2015-08-30 16:55:23 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-09-02 21:28:23 -0600 |
commit | 1b99e5bbb619f91c675306226a262a14c9d9a3a3 (patch) | |
tree | eccb55f1d1ccbda5deae4978caa3ca6978fd3872 /tools/imagetool.h | |
parent | 424b86ae597fa933b94fa91a6683e8c6b47af81d (diff) | |
download | u-boot-imx-1b99e5bbb619f91c675306226a262a14c9d9a3a3.zip u-boot-imx-1b99e5bbb619f91c675306226a262a14c9d9a3a3.tar.gz u-boot-imx-1b99e5bbb619f91c675306226a262a14c9d9a3a3.tar.bz2 |
mkimage: Allow the original file size to be recorded
Allow the image handler to store the original input file size so that it
can reference it later.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'tools/imagetool.h')
-rw-r--r-- | tools/imagetool.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/imagetool.h b/tools/imagetool.h index 99bbf2f..ad2deb5 100644 --- a/tools/imagetool.h +++ b/tools/imagetool.h @@ -60,6 +60,7 @@ struct image_tool_params { const char *comment; /* Comment to add to signature node */ int require_keys; /* 1 to mark signing keys as 'required' */ int file_size; /* Total size of output file */ + int orig_file_size; /* Original size for file before padding */ }; /* |