All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND
@ 2013-12-13  5:03 ` Caizhiyong
  0 siblings, 0 replies; 22+ messages in thread
From: Caizhiyong @ 2013-12-13  5:03 UTC (permalink / raw)
  To: David Woodhouse, linux-mtd@lists.infradead.org
  Cc: David Woodhouse, Quyaxin, linux-kernel@vger.kernel.org,
	Huang Shijie, Artem Bityutskiy, Wanglin (Albert)

From: Cai Zhiyong <caizhiyong@huawei.com>
Date: Fri, 13 Dec 2013 12:52:46 +0800
Subject: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND.

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: Cai Zhiyong <caizhiyong@huawei.com>
---
 include/linux/mtd/nand.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND
@ 2013-12-13  5:01 ` Caizhiyong
  0 siblings, 0 replies; 22+ messages in thread
From: Caizhiyong @ 2013-12-13  5:01 UTC (permalink / raw)
  To: David Woodhouse, linux-mtd@lists.infradead.org
  Cc: David Woodhouse, Quyaxin, linux-kernel@vger.kernel.org,
	Huang Shijie, Artem Bityutskiy, Wanglin (Albert)

From: Cai Zhiyong <caizhiyong@huawei.com>
Date: Fri, 13 Dec 2013 12:52:46 +0800
Subject: [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND.

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>

Signed-off-by: Cai Zhiyong <caizhiyong@huawei.com>
---
 include/linux/mtd/nand.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

^ permalink raw reply related	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2013-12-16  4:10 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-13  5:03 [PATCH] mtd: increase max page/OOB size to support 16K pagesize NAND Caizhiyong
2013-12-13  5:03 ` Caizhiyong
2013-12-13  7:27 ` Huang Shijie
2013-12-13  7:27   ` Huang Shijie
2013-12-13  8:04   ` Brian Norris
2013-12-13  8:04     ` Brian Norris
2013-12-13  8:01 ` Brian Norris
2013-12-13  8:01   ` Brian Norris
2013-12-13 11:10   ` Caizhiyong
2013-12-13 11:10     ` Caizhiyong
2013-12-13 15:11     ` Huang Shijie
2013-12-13 15:11       ` Huang Shijie
2013-12-16  2:03       ` Caizhiyong
2013-12-16  2:03         ` Caizhiyong
2013-12-16  3:06         ` Huang Shijie
2013-12-16  3:06           ` Huang Shijie
2013-12-16  4:08           ` Caizhiyong
2013-12-16  4:08             ` Caizhiyong
  -- strict thread matches above, loose matches on Subject: below --
2013-12-13  5:01 Caizhiyong
2013-12-13  5:01 ` Caizhiyong
2013-12-13  7:49 ` Brian Norris
2013-12-13  7:49   ` Brian Norris

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.