Skip to content
Snippets Groups Projects
Commit bb3e9828 authored by Sandeep Paulraj's avatar Sandeep Paulraj Committed by Scott Wood
Browse files

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: default avatarSandeep Paulraj <s-paulraj@ti.com>
parent 06f43286
No related branches found
No related tags found
No related merge requests found
...@@ -123,7 +123,7 @@ struct nand_oobfree { ...@@ -123,7 +123,7 @@ struct nand_oobfree {
*/ */
struct nand_ecclayout { struct nand_ecclayout {
uint32_t eccbytes; uint32_t eccbytes;
uint32_t eccpos[64]; uint32_t eccpos[128];
uint32_t oobavail; uint32_t oobavail;
struct nand_oobfree oobfree[MTD_MAX_OOBFREE_ENTRIES]; struct nand_oobfree oobfree[MTD_MAX_OOBFREE_ENTRIES];
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment