summaryrefslogtreecommitdiff
path: root/tools/imagetool.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-02-22 22:55:48 -0700
committerTom Rini <trini@konsulko.com>2016-03-14 19:18:27 -0400
commitd505a09c1e8fa512aeb3c077048d521f1be302ff (patch)
tree89f706df19d47932f7affe2186aa7bac6189f4ea /tools/imagetool.h
parente2070a896184e0ea778edd4f8f0ca43a618e64d8 (diff)
downloadu-boot-imx-d505a09c1e8fa512aeb3c077048d521f1be302ff.zip
u-boot-imx-d505a09c1e8fa512aeb3c077048d521f1be302ff.tar.gz
u-boot-imx-d505a09c1e8fa512aeb3c077048d521f1be302ff.tar.bz2
mkimage: Allow a FIT to include an image of any type
At present FIT images are set up by providing a device tree source file which is a file with a .its extension. We want to support automatically creating this file based on the image supplied to mkimage. This means that even though the final file type is always IH_TYPE_FLATDT, the image inside may be something else. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/imagetool.h')
-rw-r--r--tools/imagetool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/imagetool.h b/tools/imagetool.h
index ad2deb5..e0397f7 100644
--- a/tools/imagetool.h
+++ b/tools/imagetool.h
@@ -61,6 +61,7 @@ struct image_tool_params {
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 */
+ int fit_image_type; /* Image type to put into the FIT */
};
/*