summaryrefslogtreecommitdiff
path: root/tools/imximage.h
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2012-10-03 15:47:08 +0000
committerStefano Babic <sbabic@denx.de>2012-10-20 17:13:02 +0200
commitad0826dcd81ba6cf4cc93a4ca8337e1bc676c238 (patch)
tree8086f6d7be28cd05cd2cc685b7a6aa49fca740c4 /tools/imximage.h
parent243319825fa6e79885d57b6b78e72f3fe10ef69c (diff)
downloadu-boot-imx-ad0826dcd81ba6cf4cc93a4ca8337e1bc676c238.zip
u-boot-imx-ad0826dcd81ba6cf4cc93a4ca8337e1bc676c238.tar.gz
u-boot-imx-ad0826dcd81ba6cf4cc93a4ca8337e1bc676c238.tar.bz2
imximage: change parameters to set_imx_hdr
Call with the value the function will use instead of going through a pointer. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Diffstat (limited to 'tools/imximage.h')
-rw-r--r--tools/imximage.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/imximage.h b/tools/imximage.h
index 34f293d..42b6090 100644
--- a/tools/imximage.h
+++ b/tools/imximage.h
@@ -168,9 +168,7 @@ typedef void (*set_dcd_rst_t)(struct imx_header *imxhdr,
uint32_t dcd_len,
char *name, int lineno);
-typedef void (*set_imx_hdr_t)(struct imx_header *imxhdr,
- uint32_t dcd_len,
- struct stat *sbuf,
- struct mkimage_params *params);
+typedef void (*set_imx_hdr_t)(struct imx_header *imxhdr, uint32_t dcd_len,
+ uint32_t entry_point, uint32_t flash_offset);
#endif /* _IMXIMAGE_H_ */