mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
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>
This commit is contained in:
parent
424b86ae59
commit
1b99e5bbb6
1 changed files with 1 additions and 0 deletions
|
|
@ -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 */
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue