summaryrefslogtreecommitdiff
path: root/tools/imagetool.h
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2023-03-29 21:25:54 +0200
committerStefan Roese <[email protected]>2023-04-13 11:34:47 +0200
commit2972d7d62f8f177bf2186c7a38bdae53dff99a7a (patch)
treecef1ee44f02159c56c627358647cd3b61662772f /tools/imagetool.h
parent4548b37a29035c1d946e86513b70029cb4dc08b4 (diff)
tools: imagetool: Extend print_header() by params argument
This allows image type print_header() callback to access struct image_tool_params *params. Signed-off-by: Pali Rohár <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'tools/imagetool.h')
-rw-r--r--tools/imagetool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/imagetool.h b/tools/imagetool.h
index fdceea46c09..a766aa2ae91 100644
--- a/tools/imagetool.h
+++ b/tools/imagetool.h
@@ -132,7 +132,7 @@ struct image_type_params {
*/
int (*verify_header) (unsigned char *, int, struct image_tool_params *);
/* Prints image information abstracting from image header */
- void (*print_header) (const void *);
+ void (*print_header) (const void *, struct image_tool_params *);
/*
* The header or image contents need to be set as per image type to
* be generated using this callback function.