]> git.sur5r.net Git - u-boot/blobdiff - tools/imagetool.h
x86: acpi: Return table length in acpi_create_madt_lapics()
[u-boot] / tools / imagetool.h
index 3cf42ac96ab1d84c89385d461b8ef1b464cf69f6..24f8f4b2f6352fbfb6e86388236be1fb0f501e3c 100644 (file)
 
 #define IH_ARCH_DEFAULT                IH_ARCH_INVALID
 
+/* Information about a file that needs to be placed into the FIT */
+struct content_info {
+       struct content_info *next;
+       int type;               /* File type (IH_TYPE_...) */
+       const char *fname;
+};
+
 /*
  * This structure defines all such variables those are initialized by
  * mkimage and dumpimage main core and need to be referred by image
@@ -61,7 +68,11 @@ 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 */
+       bool auto_its;          /* Automatically create the .its file */
        int fit_image_type;     /* Image type to put into the FIT */
+       struct content_info *content_head;      /* List of files to include */
+       struct content_info *content_tail;
+       bool external_data;     /* Store data outside the FIT */
 };
 
 /*