Message ID | C3050A4DBA34F345975765E43127F10F25E47448@SZXEMA512-MBX.china.huawei.com |
---|---|
State | New, archived |
Headers | show |
On Fri, Dec 13, 2013 at 05:01:56AM +0000, Caizhiyong wrote: > The Toshiba's TC58TEG5DCJTA pagesize is 16K, oob size is 1280 bytes. > So increase the NAND_MAX_OOBSIZE and NAND_MAX_PAGESIZE. > > Signed-off-by: Huang Shijie <b32955@freescale.com> > Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> > Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Huh? I hope you're not intentionally forging Signed-off-by lines... Presumably the follow-up (re)send is because this one was an accident? > Signed-off-by: Cai Zhiyong <caizhiyong@huawei.com> Brian
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index f3ea8da..2f0a7f2 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -56,8 +56,8 @@ extern int nand_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len); * is supported now. If you add a chip with bigger oobsize/page * adjust this accordingly. */ -#define NAND_MAX_OOBSIZE 744 -#define NAND_MAX_PAGESIZE 8192 +#define NAND_MAX_OOBSIZE 1280 +#define NAND_MAX_PAGESIZE 16384 /* * Constants for hardware specific CLE/ALE/NCE function