summaryrefslogtreecommitdiffstats
path: root/include/linux/mtd/mtd-abi.h
diff options
context:
space:
mode:
authorSandeep Paulraj <s-paulraj@ti.com>2009-11-16 13:31:47 -0500
committerScott Wood <scottwood@freescale.com>2009-11-18 14:26:39 -0600
commitbb3e9828e7fbcc9e4518e51592876f4a0997d9ec (patch)
tree84bc88ade646a897400100bc64cd2fa33f345e0a /include/linux/mtd/mtd-abi.h
parent06f43286c6354aaab0103615e83893512f86eee7 (diff)
downloadblackbird-obmc-uboot-bb3e9828e7fbcc9e4518e51592876f4a0997d9ec.tar.gz
blackbird-obmc-uboot-bb3e9828e7fbcc9e4518e51592876f4a0997d9ec.zip
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>
Diffstat (limited to 'include/linux/mtd/mtd-abi.h')
-rw-r--r--include/linux/mtd/mtd-abi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/mtd-abi.h b/include/linux/mtd/mtd-abi.h
index 410c5dd2fb..8d5f60c75e 100644
--- a/include/linux/mtd/mtd-abi.h
+++ b/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];
};
OpenPOWER on IntegriCloud