[PATCH V3 00/11] mtd: nand: get rid of NAND_ECC_SOFT_BCH

Boris Brezillon boris.brezillon at free-electrons.com
Fri Apr 22 02:11:29 PDT 2016


On Sun, 17 Apr 2016 22:52:56 +0200
Rafał Miłecki <zajec5 at gmail.com> wrote:

> This patchset completes usage of the new "algo" field and drops unwanted
> NAND_ECC_SOFT_BCH.

Rebased on top of nand/next and applied all except "mtd: nand: hisi504:
set ECC algorithm based on DT info" which is not needed anymore.

Thanks,

Boris

> 
> It's based on nand/next git repository.
> 
> V2: Drop avr32 patch and modify atmel patch
>     Out-of-commit comment in hisi504 patch
>     Fixes in nand_base.c to handle mode && algo correctly
> V3: Fix condition in 9/11
> 
> Rafał Miłecki (11):
>   mtd: nand: bf5xx: set ECC algorithm explicitly
>   mtd: nand: davinci: set ECC algorithm explicitly
>   mtd: nand: atmel: set ECC algorithm explicitly
>   CRIS v32: nand: set ECC algorithm explicitly
>   staging: mt29f_spinand: set ECC algorithm explicitly
>   mtd: nand: set ECC algorithm to Hamming on fallback
>   mtd: nand: hisi504: set ECC algorithm based on DT info
>   mtd: nand: fsmc: validate ECC setup by checking algorithm directly
>   mtd: nand: read ECC algorithm from the new field
>   of: mtd: drop support for NAND_ECC_SOFT_BCH as "soft_bch" mapping
>   mtd: mtd: drop NAND_ECC_SOFT_BCH enum value
> 
>  arch/cris/arch-v32/drivers/mach-a3/nandflash.c |   1 +
>  arch/cris/arch-v32/drivers/mach-fs/nandflash.c |   1 +
>  drivers/mtd/nand/atmel_nand.c                  |  13 +++
>  drivers/mtd/nand/bf5xx_nand.c                  |   1 +
>  drivers/mtd/nand/davinci_nand.c                |   8 ++
>  drivers/mtd/nand/fsmc_nand.c                   |  10 ++-
>  drivers/mtd/nand/hisi504_nand.c                |   1 +
>  drivers/mtd/nand/jz4780_nand.c                 |   1 -
>  drivers/mtd/nand/nand_base.c                   | 117 +++++++++++++++----------
>  drivers/mtd/nand/nandsim.c                     |   2 +-
>  drivers/mtd/nand/sunxi_nand.c                  |   2 -
>  drivers/of/of_mtd.c                            |   9 +-
>  drivers/staging/mt29f_spinand/mt29f_spinand.c  |   1 +
>  include/linux/mtd/nand.h                       |   1 -
>  14 files changed, 110 insertions(+), 58 deletions(-)
> 



-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the linux-mtd mailing list