tizen 2.4 release
[kernel/u-boot-tm1.git] / fs / yaffs2 / parsemtdparts.h
1 #ifndef YAFFS2_PARSRMTD_H
2 #define YAFFS2_PARSRMTD_H
3
4 struct mtd_partition {
5         char *name;                     /* identifier string */
6         unsigned long size;                     /* partition size */
7         unsigned long offset;           /* offset within the master MTD space */
8         unsigned long mask_flags;               /* master MTD flags to mask out for this partition */
9 };
10
11 int yaffs_parse_cmdline_partitions(struct mtd_partition *current, unsigned long long mastersize);
12 #endif /* YAFFS2_NAND_H */