diff options
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/mtd-nand-omap2.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/include/linux/platform_data/mtd-nand-omap2.h b/include/linux/platform_data/mtd-nand-omap2.h index 6bf9ef43ddb1..e4128f1510bf 100644 --- a/include/linux/platform_data/mtd-nand-omap2.h +++ b/include/linux/platform_data/mtd-nand-omap2.h | |||
| @@ -28,8 +28,16 @@ enum omap_ecc { | |||
| 28 | OMAP_ECC_HAMMING_CODE_HW, /* gpmc to detect the error */ | 28 | OMAP_ECC_HAMMING_CODE_HW, /* gpmc to detect the error */ |
| 29 | /* 1-bit ecc: stored at beginning of spare area as romcode */ | 29 | /* 1-bit ecc: stored at beginning of spare area as romcode */ |
| 30 | OMAP_ECC_HAMMING_CODE_HW_ROMCODE, /* gpmc method & romcode layout */ | 30 | OMAP_ECC_HAMMING_CODE_HW_ROMCODE, /* gpmc method & romcode layout */ |
| 31 | OMAP_ECC_BCH4_CODE_HW, /* 4-bit BCH ecc code */ | 31 | /* 1-bit ECC calculation by GPMC, Error detection by Software */ |
| 32 | OMAP_ECC_BCH8_CODE_HW, /* 8-bit BCH ecc code */ | 32 | OMAP_ECC_HAM1_CODE_HW, |
| 33 | /* 4-bit ECC calculation by GPMC, Error detection by Software */ | ||
| 34 | OMAP_ECC_BCH4_CODE_HW_DETECTION_SW, | ||
| 35 | /* 4-bit ECC calculation by GPMC, Error detection by ELM */ | ||
| 36 | OMAP_ECC_BCH4_CODE_HW, | ||
| 37 | /* 8-bit ECC calculation by GPMC, Error detection by Software */ | ||
| 38 | OMAP_ECC_BCH8_CODE_HW_DETECTION_SW, | ||
| 39 | /* 8-bit ECC calculation by GPMC, Error detection by ELM */ | ||
| 40 | OMAP_ECC_BCH8_CODE_HW, | ||
| 33 | }; | 41 | }; |
| 34 | 42 | ||
| 35 | struct gpmc_nand_regs { | 43 | struct gpmc_nand_regs { |
| @@ -63,5 +71,6 @@ struct omap_nand_platform_data { | |||
| 63 | 71 | ||
| 64 | /* for passing the partitions */ | 72 | /* for passing the partitions */ |
| 65 | struct device_node *of_node; | 73 | struct device_node *of_node; |
| 74 | struct device_node *elm_of_node; | ||
| 66 | }; | 75 | }; |
| 67 | #endif | 76 | #endif |
