From c470225100e3e10dcaf8cd1dc5cfd030de6cbe02 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Thu, 17 Mar 2011 15:23:16 +0200 Subject: 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 Signed-off-by: Sascha Hauer --- include/linux/mtd/nand.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/linux/mtd/nand.h') 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 -- cgit v1.2.3