diff options
Diffstat (limited to 'drivers/mtd/nand/gpmi-nand/gpmi-nand.h')
-rw-r--r-- | drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.h b/drivers/mtd/nand/gpmi-nand/gpmi-nand.h index 3d93a5e39090..072947731277 100644 --- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.h +++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.h | |||
@@ -284,6 +284,10 @@ extern int gpmi_read_page(struct gpmi_nand_data *, | |||
284 | #define STATUS_ERASED 0xff | 284 | #define STATUS_ERASED 0xff |
285 | #define STATUS_UNCORRECTABLE 0xfe | 285 | #define STATUS_UNCORRECTABLE 0xfe |
286 | 286 | ||
287 | /* BCH's bit correction capability. */ | ||
288 | #define MXS_ECC_STRENGTH_MAX 20 /* mx23 and mx28 */ | ||
289 | #define MX6_ECC_STRENGTH_MAX 40 | ||
290 | |||
287 | /* Use the platform_id to distinguish different Archs. */ | 291 | /* Use the platform_id to distinguish different Archs. */ |
288 | #define IS_MX23 0x0 | 292 | #define IS_MX23 0x0 |
289 | #define IS_MX28 0x1 | 293 | #define IS_MX28 0x1 |