lua: Fixed some cross-platform issues for PPC (and probably other architectures)
[openwrt.git] / target / linux / rdc / files / drivers / mtd / maps / imghdr.h
1 #ifndef GT_IMGHDR_H
2 #define GT_IMGHDR_H
3
4 #define GTIMG_MAGIC "GMTK"
5
6 /* Product ID */
7 #define PID_RTL_AIRGO 1
8 #define PID_RTL_RALINK 2
9 #define PID_RDC_AIRGO 3
10 #define PID_RDC_RALINK 5 /* White Lable */
11
12 /* Gemtek */
13 typedef struct
14 {
15 u8 magic[4]; /* ASICII: GMTK */
16 u32 checksum; /* CRC32 */
17 u32 version; /* x.x.x.x */
18 u32 kernelsz; /* The size of the kernel image */
19 u32 imagesz; /* The length of this image file ( kernel + romfs + this header) */
20 u32 pid; /* Product ID */
21 u32 fastcksum; /* Partial CRC32 on (First(256), medium(256), last(512)) */
22 u32 reserved;
23 }gt_imghdr_t;
24
25 #endif
This page took 0.045296 seconds and 5 git commands to generate.