summaryrefslogtreecommitdiff
path: root/include/linux/mtd/nand.h
diff options
context:
space:
mode:
authorSandeep Paulraj <s-paulraj@ti.com>2009-10-30 13:51:23 -0400
committerScott Wood <scottwood@freescale.com>2009-11-13 16:56:14 -0600
commitaaa8eec532876c47acfd31bf9b573a00eaad92ae (patch)
tree2fc76f904ab00c09cdd42fad4118a20e02ff321d /include/linux/mtd/nand.h
parent581d04f14d7a39b63d418e2a21e44101233096d1 (diff)
downloadu-boot-imx-aaa8eec532876c47acfd31bf9b573a00eaad92ae.zip
u-boot-imx-aaa8eec532876c47acfd31bf9b573a00eaad92ae.tar.gz
u-boot-imx-aaa8eec532876c47acfd31bf9b573a00eaad92ae.tar.bz2
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/nand.h')
-rw-r--r--include/linux/mtd/nand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index cb7c19a..94ad0c0 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -397,7 +397,7 @@ struct nand_chip {
int bbt_erase_shift;
int chip_shift;
int numchips;
- unsigned long chipsize;
+ uint64_t chipsize;
int pagemask;
int pagebuf;
int subpagesize;