aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-rmobile
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2018-07-10 11:48:08 +0200
committerTom Rini <trini@konsulko.com>2018-07-23 14:33:21 -0400
commit323a73adc9a1bf2de43fe03bdd9c3038ce7c2784 (patch)
tree3d3900246c45c0b7aa38681360134ef8ee4815fc /arch/arm/mach-rmobile
parentd5674d62ce8cd3b7e366b7ca5752084fbe89db7b (diff)
downloadu-boot-323a73adc9a1bf2de43fe03bdd9c3038ce7c2784.tar.gz
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>
Diffstat (limited to 'arch/arm/mach-rmobile')
0 files changed, 0 insertions, 0 deletions