On Tue, Jul 10, 2018 at 11:48:08AM +0200, Philippe Reynes wrote: > From: Rafał Miłecki <zaj...@gmail.com> > > 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 <zaj...@gmail.com> > Signed-off-by: Boris Brezillon <boris.brezil...@free-electrons.com> > [Linux commit: b0fcd8ab7b3c89b5da7fff5224d06ed73e7a33cc] > [Philippe Reynes: adapt code to u-boot] > Signed-off-by: Philippe Reynes <philippe.rey...@softathome.com>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: PGP signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot