diff options
author | Jason <r64343@freescale.com> | 2009-03-18 18:24:24 +0800 |
---|---|---|
committer | Fred Fan <r01011@freescale.com> | 2009-09-10 15:08:50 +0800 |
commit | 512c7938d979e2b0cdc9271c6745ef1d7a2cf213 (patch) | |
tree | 2cb4f9333167ab0978151f69d4fc50c13621f29a /include/linux | |
parent | e4f2035ea5507b954fcf0bc0e1362b61245de68c (diff) | |
download | u-boot-imx-512c7938d979e2b0cdc9271c6745ef1d7a2cf213.zip u-boot-imx-512c7938d979e2b0cdc9271c6745ef1d7a2cf213.tar.gz u-boot-imx-512c7938d979e2b0cdc9271c6745ef1d7a2cf213.tar.bz2 |
ENGR00109851 Add nand driver for MX51 uboot
Add nand driver for MX51 uboot
Signed-off-by:Jason Liu <r64343@freescale.com>
Diffstat (limited to 'include/linux')
-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 3e0044b..7d5196a 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 -#define NAND_MAX_PAGESIZE 4096 +#define NAND_MAX_OOBSIZE (218 * CONFIG_SYS_NAND_MAX_CHIPS) +#define NAND_MAX_PAGESIZE (4096 * CONFIG_SYS_NAND_MAX_CHIPS) /* * Constants for hardware specific CLE/ALE/NCE function |