NAND:Extending the nand_ecclayout structure
authorSandeep Paulraj <s-paulraj@ti.com>
Mon, 16 Nov 2009 18:31:47 +0000 (13:31 -0500)
committerScott Wood <scottwood@freescale.com>
Wed, 18 Nov 2009 20:26:39 +0000 (14:26 -0600)
NANDs with page size of lesser than and equal to 2K are
reaching EOL. They are bing replaced with NANDs of
page size 4K and above.
To support this we have to extend the eccpos field

Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
include/linux/mtd/mtd-abi.h

index 410c5dd..8d5f60c 100644 (file)
@@ -123,7 +123,7 @@ struct nand_oobfree {
  */
 struct nand_ecclayout {
        uint32_t eccbytes;
-       uint32_t eccpos[64];
+       uint32_t eccpos[128];
        uint32_t oobavail;
        struct nand_oobfree oobfree[MTD_MAX_OOBFREE_ENTRIES];
 };