diff options
| author | Sandeep Paulraj <s-paulraj@ti.com> | 2009-10-30 13:51:23 -0400 | 
|---|---|---|
| committer | Scott Wood <scottwood@freescale.com> | 2009-11-13 16:56:14 -0600 | 
| commit | aaa8eec532876c47acfd31bf9b573a00eaad92ae (patch) | |
| tree | 2fc76f904ab00c09cdd42fad4118a20e02ff321d /include/linux/mtd/partitions.h | |
| parent | 581d04f14d7a39b63d418e2a21e44101233096d1 (diff) | |
| download | olio-uboot-2014.01-aaa8eec532876c47acfd31bf9b573a00eaad92ae.tar.xz olio-uboot-2014.01-aaa8eec532876c47acfd31bf9b573a00eaad92ae.zip | |
NAND: Update to support 64 bit device size
This patch adds support for NANDs greater than 2 GB.
Patch is based on the MTD NAND driver in the kernel.
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'include/linux/mtd/partitions.h')
| -rw-r--r-- | include/linux/mtd/partitions.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/include/linux/mtd/partitions.h b/include/linux/mtd/partitions.h index 10166757b..d1d9a96d5 100644 --- a/include/linux/mtd/partitions.h +++ b/include/linux/mtd/partitions.h @@ -38,8 +38,8 @@  struct mtd_partition {  	char *name;			/* identifier string */ -	u_int32_t size;			/* partition size */ -	u_int32_t offset;		/* offset within the master MTD space */ +	uint64_t size;			/* partition size */ +	uint64_t offset;		/* offset within the master MTD space */  	u_int32_t mask_flags;		/* master MTD flags to mask out for this partition */  	struct nand_ecclayout *ecclayout;	/* out of band layout for this partition (NAND only)*/  	struct mtd_info **mtdp;		/* pointer to store the MTD object */ |