NAND:Extending the nand_ecclayout structure
PATCH 1/1 NAND:Extending the nand_ecclayout structure
From: Sandeep Paulraj <[email protected]>
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
---
I believe a patch was submitted to linux-mtd to update this. But this change was rejected to the best of my knowledge because it will break user space IOCTL's, i.e. when we we run some tests from the mtd-utils. I can't see an solution to the issue addressed in the kernel or mtd-utils. I think this can be added to u-boot.
include/linux/mtd/mtd-abi.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/mtd/mtd-abi.h +1 -1
@@ -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 ]; };
Signature · 1 line
1.6.0.4
Scott Wood
AppliedPATCH 1/1 NAND:Extending the nand_ecclayout structure
Quoted 7 lines · s-paulraj at ti.com
From: Sandeep Paulraj <[email protected]>
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
Quoted 7 lines
Signed-off-by Sandeep Paulraj <[email protected]>---
I believe a patch was submitted to linux-mtd to update this. But this change was rejected to the best of my knowledge because it will break user space IOCTL's, i.e. when we we run some tests from the mtd-utils. I can't see an solution to the issue addressed in the kernel or mtd-utils. I think this can be added to u-boot.
Applied.
-Scott