diff options
author | Brian Norris <norris@broadcom.com> | 2010-08-20 15:36:13 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-10-24 18:37:51 -0400 |
commit | 5c709ee9f33da4a07d94e3d48b297eb6f003fc61 (patch) | |
tree | 7e36e408de6dec11e7483b2f48839cd58ee381e2 /include/linux/mtd/nand.h | |
parent | 432dc821c90114f9b0e00f6752a700e937516ade (diff) |
mtd: nand: Increase NAND_MAX_OOBSIZE
An increase in NAND_MAX_OOBSIZE and NAND_MAX_PAGESIZE is necessary
in order to support many new chips. Among those:
Toshiba TC58TxG4S2FBAxx 8KB page, 576B OOB
Micron MT29F64G08CBAAA 8KB page, 448B OOB
Signed-off-by: Brian Norris <norris@broadcom.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/mtd/nand.h')
-rw-r--r-- | include/linux/mtd/nand.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 102e12c58cb3..a8921c213df5 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h | |||
@@ -53,8 +53,8 @@ extern int nand_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len); | |||
53 | * is supported now. If you add a chip with bigger oobsize/page | 53 | * is supported now. If you add a chip with bigger oobsize/page |
54 | * adjust this accordingly. | 54 | * adjust this accordingly. |
55 | */ | 55 | */ |
56 | #define NAND_MAX_OOBSIZE 256 | 56 | #define NAND_MAX_OOBSIZE 576 |
57 | #define NAND_MAX_PAGESIZE 4096 | 57 | #define NAND_MAX_PAGESIZE 8192 |
58 | 58 | ||
59 | /* | 59 | /* |
60 | * Constants for hardware specific CLE/ALE/NCE function | 60 | * Constants for hardware specific CLE/ALE/NCE function |