Lines Matching full:ecc
10 For NAND specific properties such as ECC modes or bus width, please refer to
27 - ti,nand-ecc-opt: A string setting the ECC layout to use. One of:
28 "sw" 1-bit Hamming ecc code via software
31 "ham1" 1-bit Hamming ecc code
32 "bch4" 4-bit BCH ecc code
33 "bch8" 8-bit BCH ecc code
34 "bch16" 16-bit BCH ECC code
35 Refer below "How to select correct ECC scheme for your device ?"
47 locating ECC errors for BCHx algorithms. SoC devices which have
49 Using ELM for ECC error correction frees some CPU cycles.
79 ti,nand-ecc-opt = "bch8";
105 How to select correct ECC scheme for your device ?
107 Higher ECC scheme usually means better protection against bit-flips and
108 increased system lifetime. However, selection of ECC scheme is dependent
113 support ecc-schemes with hardware error-correction (BCHx_HW). However
114 such SoC can use ecc-schemes with software library for error-correction
120 Other factor which governs the selection of ecc-scheme is oob-size.
121 Higher ECC schemes require more OOB/Spare area to store ECC syndrome,
123 area to accommodate ECC for entire page. In general following expression
124 helps in determining if given device can accommodate ECC syndrome:
129 ECC_BYTES number of ECC bytes generated to protect
131 '3' for HAM1_xx ecc schemes
132 '7' for BCH4_xx ecc schemes
133 '14' for BCH8_xx ecc schemes
134 '26' for BCH16_xx ecc schemes
137 trying to use BCH16 (ECC_BYTES=26) ecc-scheme.
138 Number of ECC bytes per page = (2 + (2048 / 512) * 26) = 106 B
141 probably use lower ecc-schemes like BCH8.
144 trying to use BCH16 (ECC_BYTES=26) ecc-scheme.
145 Number of ECC bytes per page = (2 + (2048 / 512) * 26) = 106 B
147 (OOBSIZE=128). So this device can use BCH16 ecc-scheme.