All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 7/7] nand: Change NAND_MAX_OOBSIZE to 218 as needed for some 4k page devices
@ 2009-06-04 14:40 Stefan Roese
  2009-07-16 20:33 ` Scott Wood
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Roese @ 2009-06-04 14:40 UTC (permalink / raw)
  To: u-boot

This is needed for the MPC512x NAND driver (fsl_nfc_nand.c) which already
defines such a 4k plus 218 bytes ECC layout.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Scott Wood <scottwood@freescale.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 a4ad571..3e0044b 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -50,7 +50,7 @@ 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	128
+#define NAND_MAX_OOBSIZE	218
 #define NAND_MAX_PAGESIZE	4096
 
 /*
-- 
1.6.3.2

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

* [U-Boot] [PATCH 7/7] nand: Change NAND_MAX_OOBSIZE to 218 as needed for some 4k page devices
  2009-06-04 14:40 [U-Boot] [PATCH 7/7] nand: Change NAND_MAX_OOBSIZE to 218 as needed for some 4k page devices Stefan Roese
@ 2009-07-16 20:33 ` Scott Wood
  0 siblings, 0 replies; 2+ messages in thread
From: Scott Wood @ 2009-07-16 20:33 UTC (permalink / raw)
  To: u-boot

On Thu, Jun 04, 2009 at 04:40:36PM +0200, Stefan Roese wrote:
> This is needed for the MPC512x NAND driver (fsl_nfc_nand.c) which already
> defines such a 4k plus 218 bytes ECC layout.
> 
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Scott Wood <scottwood@freescale.com>
> ---

Applied to u-boot-nand-flash.  Sorry for the delay, it got lost in a pile
of old e-mail.

-Scott

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

end of thread, other threads:[~2009-07-16 20:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-04 14:40 [U-Boot] [PATCH 7/7] nand: Change NAND_MAX_OOBSIZE to 218 as needed for some 4k page devices Stefan Roese
2009-07-16 20:33 ` Scott Wood

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.