4 #define MTDPARTITION_MAX (40)
5 #define PARTITION_NAME_LEN (20)
7 char *name; /* identifier string */
8 unsigned long size; /* partition size */
9 unsigned long offset; /* offset within the master MTD space */
10 unsigned long mask_flags; /* master MTD flags to mask out for this partition */
13 struct real_mtd_partition {
14 char name[PARTITION_NAME_LEN]; /* identifier string */
15 unsigned long size; /* partition size */
16 unsigned long offset; /* offset within the master MTD space */
17 unsigned long mask_flags; /* master MTD flags to mask out for this partition */
18 unsigned long yaffs; /* 1 is yaffs image, 0 is not raw image */
21 typedef struct _NAND_PAGE_OOB_STATUS
23 unsigned long erasesize;
24 unsigned long writesize;
25 unsigned long oobsize;
26 } NAND_PAGE_OOB_STATUS;
28 #endif /* FDL_NAND_H */