* [PATCH] mtd: Increase NAND_MAX_OOBSIZE from 128 to 256
@ 2010-05-04 4:20 Kevin Cernekee
2010-05-05 11:19 ` Artem Bityutskiy
0 siblings, 1 reply; 2+ messages in thread
From: Kevin Cernekee @ 2010-05-04 4:20 UTC (permalink / raw)
To: dwmw2; +Cc: linux-mtd, linux-kernel
NAND_MAX_OOBSIZE needs to be increased to support newer parts with
218 or 224 byte spare areas. Tested with Samsung K9GAG08U0D.
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
---
include/linux/mtd/nand.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 8bdacb8..50f3aa0 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -53,7 +53,7 @@ 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 128
+#define NAND_MAX_OOBSIZE 256
#define NAND_MAX_PAGESIZE 4096
/*
--
1.6.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mtd: Increase NAND_MAX_OOBSIZE from 128 to 256
2010-05-04 4:20 [PATCH] mtd: Increase NAND_MAX_OOBSIZE from 128 to 256 Kevin Cernekee
@ 2010-05-05 11:19 ` Artem Bityutskiy
0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2010-05-05 11:19 UTC (permalink / raw)
To: Kevin Cernekee; +Cc: linux-mtd, dwmw2, linux-kernel
On Mon, 2010-05-03 at 21:20 -0700, Kevin Cernekee wrote:
> NAND_MAX_OOBSIZE needs to be increased to support newer parts with
> 218 or 224 byte spare areas. Tested with Samsung K9GAG08U0D.
>
> Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Pushed to l2-mtd-2.6 / master
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-05 11:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-04 4:20 [PATCH] mtd: Increase NAND_MAX_OOBSIZE from 128 to 256 Kevin Cernekee
2010-05-05 11:19 ` Artem Bityutskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).