From 0f7c6cdc8143d6cf0577a84bf27bdaadd6229ff4 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Fri, 4 Nov 2016 14:22:15 +0100 Subject: 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 Cc: Simon Glass Cc: Matt Hart Cc: Neil Williams Reviewed-by: Simon Glass --- tools/imagetool.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/imagetool.h') 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 */ -- cgit v1.2.3