Commit 1b99e5bb authored by Simon Glass's avatar Simon Glass

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
......@@ -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 */
};
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment