浏览代码

NAND:Extending the nand_ecclayout structure

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>
Sandeep Paulraj 15 年之前
父节点
当前提交
bb3e9828e7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/linux/mtd/mtd-abi.h

+ 1 - 1
include/linux/mtd/mtd-abi.h

@@ -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];
 };