Split up drivers and specific files, update flash map driver
[openwrt/staging/chunkeey.git] / target / linux / rdc-2.6 / 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 UINT8 magic[4]; /* ASICII: GMTK */
16 UINT32 checksum; /* CRC32 */
17 UINT32 version; /* x.x.x.x */
18 UINT32 kernelsz; /* The size of the kernel image */
19 UINT32 imagesz; /* The length of this image file ( kernel + romfs + this header) */
20 UINT32 pid; /* Product ID */
21 UINT32 fastcksum; /* Partial CRC32 on (First(256), medium(256), last(512)) */
22 UINT32 reserved;
23 }gt_imghdr_t;
24
25 #endif