diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/jffs2/load_kernel.h | 6 | ||||
| -rw-r--r-- | include/linux/mtd/nand.h | 3 | 
2 files changed, 6 insertions, 3 deletions
| diff --git a/include/jffs2/load_kernel.h b/include/jffs2/load_kernel.h index e1943e507..dd0d23fa5 100644 --- a/include/jffs2/load_kernel.h +++ b/include/jffs2/load_kernel.h @@ -32,8 +32,8 @@ struct part_info {  	struct list_head link;  	char *name;			/* partition name */  	u8 auto_name;			/* set to 1 for generated name */ -	u32 size;			/* total size of the partition */ -	u32 offset;			/* offset within device */ +	u64 size;			/* total size of the partition */ +	u64 offset;			/* offset within device */  	void *jffs2_priv;		/* used internaly by jffs2 */  	u32 mask_flags;			/* kernel MTD mask flags */  	u32 sector_size;		/* size of sector */ @@ -44,7 +44,7 @@ struct mtdids {  	struct list_head link;  	u8 type;			/* device type */  	u8 num;				/* device number */ -	u32 size;			/* device size */ +	u64 size;			/* device size */  	char *mtd_id;			/* linux kernel device id */  }; diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 205558437..054656559 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -464,6 +464,8 @@ struct nand_buffers {   * @pagemask:		[INTERN] page number mask = number of (pages / chip) - 1   * @pagebuf:		[INTERN] holds the pagenumber which is currently in   *			data_buf. + * @pagebuf_bitflips:	[INTERN] holds the bitflip count for the page which is + *			currently in data_buf.   * @subpagesize:	[INTERN] holds the subpagesize   * @onfi_version:	[INTERN] holds the chip ONFI version (BCD encoded),   *			non 0 if ONFI supported. @@ -531,6 +533,7 @@ struct nand_chip {  	uint64_t chipsize;  	int pagemask;  	int pagebuf; +	unsigned int pagebuf_bitflips;  	int subpagesize;  	uint8_t cellinfo;  	int badblockpos; |