image.h (fbe4b5cbdea438ccec0d93de443f367f3ba46196) | image.h (ef1464cc01cf9dcab52396283bf597e609caa450) |
---|---|
1/* 2 * (C) Copyright 2000 3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4 * 5 * See file CREDITS for list of people who contributed to this 6 * project. 7 * 8 * This program is free software; you can redistribute it and/or --- 110 unchanged lines hidden (view full) --- 119 */ 120#define IH_COMP_NONE 0 /* No Compression Used */ 121#define IH_COMP_GZIP 1 /* gzip Compression Used */ 122#define IH_COMP_BZIP2 2 /* bzip2 Compression Used */ 123 124#define IH_MAGIC 0x27051956 /* Image Magic Number */ 125#define IH_NMLEN 32 /* Image Name Length */ 126 | 1/* 2 * (C) Copyright 2000 3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4 * 5 * See file CREDITS for list of people who contributed to this 6 * project. 7 * 8 * This program is free software; you can redistribute it and/or --- 110 unchanged lines hidden (view full) --- 119 */ 120#define IH_COMP_NONE 0 /* No Compression Used */ 121#define IH_COMP_GZIP 1 /* gzip Compression Used */ 122#define IH_COMP_BZIP2 2 /* bzip2 Compression Used */ 123 124#define IH_MAGIC 0x27051956 /* Image Magic Number */ 125#define IH_NMLEN 32 /* Image Name Length */ 126 |
127#ifdef __CYGWIN__ 128typedef unsigned long uint32_t; 129typedef unsigned char uint8_t; 130#endif /* __CYGWIN__ */ 131 | |
132/* 133 * all data in network byte order (aka natural aka bigendian) 134 */ 135 136typedef struct image_header { 137 uint32_t ih_magic; /* Image Header Magic Number */ 138 uint32_t ih_hcrc; /* Image Header CRC Checksum */ 139 uint32_t ih_time; /* Image Creation Timestamp */ --- 13 unchanged lines hidden --- | 127/* 128 * all data in network byte order (aka natural aka bigendian) 129 */ 130 131typedef struct image_header { 132 uint32_t ih_magic; /* Image Header Magic Number */ 133 uint32_t ih_hcrc; /* Image Header CRC Checksum */ 134 uint32_t ih_time; /* Image Creation Timestamp */ --- 13 unchanged lines hidden --- |