Skip to content
Snippets Groups Projects
Commit 1b99e5bb authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 424b86ae
No related branches found
No related tags found
No related merge requests found
...@@ -60,6 +60,7 @@ struct image_tool_params { ...@@ -60,6 +60,7 @@ struct image_tool_params {
const char *comment; /* Comment to add to signature node */ const char *comment; /* Comment to add to signature node */
int require_keys; /* 1 to mark signing keys as 'required' */ int require_keys; /* 1 to mark signing keys as 'required' */
int file_size; /* Total size of output file */ int file_size; /* Total size of output file */
int orig_file_size; /* Original size for file before padding */
}; };
/* /*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment