]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/image.h
- ext2fs support added
[karo-tx-uboot.git] / include / image.h
index 72781dc273e6935eeb42941257bf677a709f4965..4c23f0e5b5293652391b81c2cf364e10ba77f030 100644 (file)
@@ -45,6 +45,9 @@
 #define IH_OS_PSOS             15      /* pSOS         */
 #define IH_OS_QNX              16      /* QNX          */
 #define IH_OS_U_BOOT           17      /* Firmware     */
+#define IH_OS_RTEMS            18      /* RTEMS        */
+#define IH_OS_ARTOS            19      /* ARTOS        */
+#define IH_OS_UNITY            20      /* Unity OS     */
 
 /*
  * CPU Architecture Codes (supported by Linux)
 #define IH_CPU_SH              9       /* SuperH       */
 #define IH_CPU_SPARC           10      /* Sparc        */
 #define IH_CPU_SPARC64         11      /* Sparc 64 Bit */
+#define IH_CPU_M68K            12      /* M68K         */
+#define IH_CPU_NIOS            13      /* Nios-32      */
+#define IH_CPU_MICROBLAZE      14      /* MicroBlaze   */
+#define IH_CPU_NIOS2           15      /* Nios-II      */
 
 /*
  * Image Types
@@ -89,7 +96,7 @@
  *     byte order. This list is terminated by an "(uint32_t)0".
  *     Immediately after the terminating 0 follow the images, one by
  *     one, all aligned on "uint32_t" boundaries (size rounded up to
- *     a multiple of 4 bytes).
+ *     a multiple of 4 bytes - except for the last file).
  *
  * "Firmware Images" are binary images containing firmware (like
  *     U-Boot or FPGA images) which usually will be programmed to
  * "Script files" are command sequences that will be executed by
  *     U-Boot's command interpreter; this feature is especially
  *     useful when you configure U-Boot to use a real shell (hush)
- *     as command interpreter.
+ *     as command interpreter (=> Shell Scripts).
  */
 
 #define IH_TYPE_INVALID                0       /* Invalid Image                */
 #define IH_TYPE_MULTI          4       /* Multi-File Image             */
 #define IH_TYPE_FIRMWARE       5       /* Firmware Image               */
 #define IH_TYPE_SCRIPT         6       /* Script file                  */
+#define IH_TYPE_FILESYSTEM     7       /* Filesystem Image (any type)  */
 
 /*
  * Compression Types
 #define IH_MAGIC       0x27051956      /* Image Magic Number           */
 #define IH_NMLEN               32      /* Image Name Length            */
 
-#ifdef __CYGWIN__
-typedef unsigned long uint32_t;
-typedef unsigned char uint8_t;
-#endif /* __CYGWIN__ */
-
 /*
  * all data in network byte order (aka natural aka bigendian)
  */