diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2016-11-04 14:22:15 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-11-06 07:33:42 -0500 |
commit | 0f7c6cdc8143d6cf0577a84bf27bdaadd6229ff4 (patch) | |
tree | 5d3ca7131085c25be9ced0bfff7fb9db1709a607 /tools/imagetool.h | |
parent | baade496d18d9fd80797c09031687ff0af53f69d (diff) | |
download | u-boot-0f7c6cdc8143d6cf0577a84bf27bdaadd6229ff4.tar.gz u-boot-0f7c6cdc8143d6cf0577a84bf27bdaadd6229ff4.tar.bz2 u-boot-0f7c6cdc8143d6cf0577a84bf27bdaadd6229ff4.zip |
mkimage: Allow including a ramdisk in FIT auto mode
Adds -i option that allows specifying a ramdisk file to be added to the
FIT image when we are using the automatic FIT mode (no ITS file).
This makes adding Depthcharge support to LAVA much more convenient, as
no additional configuration files need to be kept around in the machine
that dispatches jobs to the boards.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Matt Hart <matthew.hart@linaro.org>
Cc: Neil Williams <codehelp@debian.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/imagetool.h')
-rw-r--r-- | tools/imagetool.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/imagetool.h b/tools/imagetool.h index 6c1a9d3760..15c2a0c0e1 100644 --- a/tools/imagetool.h +++ b/tools/imagetool.h @@ -70,6 +70,7 @@ struct image_tool_params { int orig_file_size; /* Original size for file before padding */ bool auto_its; /* Automatically create the .its file */ int fit_image_type; /* Image type to put into the FIT */ + char *fit_ramdisk; /* Ramdisk file to include */ struct content_info *content_head; /* List of files to include */ struct content_info *content_tail; bool external_data; /* Store data outside the FIT */ |