nand.txt 924 B

123456789101112131415161718192021
  1. * MTD generic binding
  2. - nand-ecc-mode : String, operation mode of the NAND ecc mode.
  3. Supported values are: "none", "soft", "hw", "hw_syndrome", "hw_oob_first",
  4. "soft_bch".
  5. - nand-bus-width : 8 or 16 bus width if not present 8
  6. - nand-on-flash-bbt: boolean to enable on flash bbt option if not present false
  7. - nand-ecc-strength: integer representing the number of bits to correct
  8. per ECC step.
  9. - nand-ecc-step-size: integer representing the number of data bytes
  10. that are covered by a single ECC step.
  11. The ECC strength and ECC step size properties define the correction capability
  12. of a controller. Together, they say a controller can correct "{strength} bit
  13. errors per {size} bytes".
  14. The interpretation of these parameters is implementation-defined, so not all
  15. implementations must support all possible combinations. However, implementations
  16. are encouraged to further specify the value(s) they support.