diff options
author | Baruch Siach <baruch@tkos.co.il> | 2011-03-17 15:23:16 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-03-18 08:29:21 +0100 |
commit | c470225100e3e10dcaf8cd1dc5cfd030de6cbe02 (patch) | |
tree | 10b2da458e822721a3f4212cdddeb8dd38563d9b /include/linux/mtd/nand.h | |
parent | ef552262abc6b21f342006e0c9196886292c3ea2 (diff) | |
download | barebox-c470225100e3e10dcaf8cd1dc5cfd030de6cbe02.tar.gz barebox-c470225100e3e10dcaf8cd1dc5cfd030de6cbe02.tar.xz |
mtd/nand: increase page and oob size limits
Sync these limits with the Linux kernel. This allows support for NAND devices
with page size of 4k.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
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 6671a72a58..8e208765f7 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -45,8 +45,8 @@ extern void nand_wait_ready(struct mtd_info *mtd); * is supported now. If you add a chip with bigger oobsize/page * adjust this accordingly. */ -#define NAND_MAX_OOBSIZE 64 -#define NAND_MAX_PAGESIZE 2048 +#define NAND_MAX_OOBSIZE 576 +#define NAND_MAX_PAGESIZE 8192 /* * Constants for hardware specific CLE/ALE/NCE function |