summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/mtd-nand-pxa3xx.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/platform_data/mtd-nand-pxa3xx.h')
-rw-r--r--include/linux/platform_data/mtd-nand-pxa3xx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/platform_data/mtd-nand-pxa3xx.h b/include/linux/platform_data/mtd-nand-pxa3xx.h
index a94147124929..ac4ea2e641c7 100644
--- a/include/linux/platform_data/mtd-nand-pxa3xx.h
+++ b/include/linux/platform_data/mtd-nand-pxa3xx.h
@@ -58,6 +58,9 @@ struct pxa3xx_nand_platform_data {
/* use an flash-based bad block table */
bool flash_bbt;
+ /* requested ECC strength and ECC step size */
+ int ecc_strength, ecc_step_size;
+
const struct mtd_partition *parts[NUM_CHIP_SELECT];
unsigned int nr_parts[NUM_CHIP_SELECT];