aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/mtd/src/wrgg.h
blob: 0c4b3677ec36a31a64eadc7a4008ede5c9f43d32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __wrgg_h
#define __wrgg_h

#define WRGG03_MAGIC	0x20080321

struct wrgg03_header {
	char		signature[32];
	uint32_t	magic1;
	uint32_t	magic2;
	char		version[16];
	char		model[16];
	uint32_t	flag[2];
	uint32_t	reserve[2];
	char		buildno[16];
	uint32_t	size;
	uint32_t	offset;
	char		dev_name[32];
	char		digest[16];
} __attribute__ ((packed));
#endif /* __wrgg_h */