mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
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> |
||
|---|---|---|
| .. | ||
| bbm.h | ||
| concat.h | ||
| doc2000.h | ||
| flashchip.h | ||
| fsl_upm.h | ||
| fsmc_nand.h | ||
| mtd.h | ||
| nand_bch.h | ||
| nand_ecc.h | ||
| ndfc.h | ||
| omap_elm.h | ||
| omap_gpmc.h | ||
| onenand.h | ||
| onenand_regs.h | ||
| partitions.h | ||
| rawnand.h | ||
| samsung_onenand.h | ||
| st_smi.h | ||
| ubi.h | ||