]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - tools/mkimage.h
tools, config.mk: Add gcc-version.sh, cc-version test from Linux
[karo-tx-uboot.git] / tools / mkimage.h
index e59a91913e305cfd977c805fde4886f117052006..5fe1a48ccfe60587d23eb0513fb3b753fed65297 100644 (file)
@@ -60,6 +60,7 @@ struct mkimage_params {
        int lflag;
        int vflag;
        int xflag;
+       int skipcpy;
        int os;
        int arch;
        int type;
@@ -122,6 +123,13 @@ struct image_type_params {
        int (*check_image_type) (uint8_t);
        /* This callback function will be executed if fflag is defined */
        int (*fflag_handle) (struct mkimage_params *);
+       /*
+        * This callback function will be executed for variable size record
+        * It is expected to build this header in memory and return its length
+        * and a pointer to it
+        */
+       int (*vrec_header) (struct mkimage_params *,
+               struct image_type_params *);
        /* pointer to the next registered entry in linked list */
        struct image_type_params *next;
 };
@@ -139,6 +147,7 @@ void mkimage_register (struct image_type_params *tparams);
  *
  * Supported image types init functions
  */
+void init_ais_image_type(void);
 void init_kwb_image_type (void);
 void init_imx_image_type (void);
 void init_default_image_type (void);