summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2012-10-31 18:19:44 +0800
committerHuang Shijie <b32955@freescale.com>2012-10-31 18:27:28 +0800
commit1f2f2d3f5c0ab69f6c68be13968082d35bc675fb (patch)
tree55ff99ccff022133ca532897ab77c0faf7f3a8fa
parent711e63c61114c9a692796348e4a54770dec19cc8 (diff)
downloadu-boot-imx-1f2f2d3f5c0ab69f6c68be13968082d35bc675fb.zip
u-boot-imx-1f2f2d3f5c0ab69f6c68be13968082d35bc675fb.tar.gz
u-boot-imx-1f2f2d3f5c0ab69f6c68be13968082d35bc675fb.tar.bz2
ENGR00231891-2 gpmi: fix the 4k page size limit
We may use the 8K page nand now. So expand the page size from 4k to 8K. Also expand the oobsize to 1K size. Signed-off-by: Huang Shijie <b32955@freescale.com>
-rw-r--r--include/linux/mtd/nand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 7310605..5a8a926 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -50,8 +50,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 (218 * CONFIG_SYS_NAND_MAX_CHIPS)
-#define NAND_MAX_PAGESIZE (4096 * CONFIG_SYS_NAND_MAX_CHIPS)
+#define NAND_MAX_OOBSIZE (1024 * CONFIG_SYS_NAND_MAX_CHIPS)
+#define NAND_MAX_PAGESIZE (8192 * CONFIG_SYS_NAND_MAX_CHIPS)
/*
* Constants for hardware specific CLE/ALE/NCE function