Files
u-boot-sunxi/include
Rafał Miłecki 323a73adc9 mtd: nand: add new enum for storing ECC algorithm
Our nand_ecc_modes_t is already a bit abused by value NAND_ECC_SOFT_BCH.
This enum should store ECC mode only and putting algorithm details there
is a bad idea. It would result in too many values impossible to support
in a sane way.

To solve this problem let's add a new enum. We'll have to modify all
drivers to set it properly but once it's done it'll be possible to drop
NAND_ECC_SOFT_BCH. That will result in a cleaner design and more
possibilities like setting ECC algorithm for hardware ECC mode.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
[Linux commit: b0fcd8ab7b3c89b5da7fff5224d06ed73e7a33cc]
[Philippe Reynes: adapt code to u-boot]
Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
2018-07-23 14:33:21 -04:00
..
2018-07-19 16:31:37 -04:00
2018-07-19 16:17:58 -04:00
2018-06-18 14:43:13 -04:00
2018-06-24 08:56:04 +08:00
2018-06-13 07:49:12 -04:00
2018-07-02 14:14:20 -05:00
2018-05-23 17:30:03 -04:00
2018-06-03 15:27:21 +02:00
2018-05-26 12:46:50 -04:00
2018-05-26 18:19:17 -04:00
2018-07-19 16:31:37 -04:00
2018-07-20 15:55:05 -04:00