• Brian Norris's avatar
    Merge tag 'nand/for-4.7' of github.com:linux-nand/linux · 2cbaf549
    Brian Norris authored
    Updates from Boris Brezillon:
    
    This pull request contains the following infrastructure changes:
    * introduction of the ECC algo concept to extend the ECC mode one
    * replacement of the nand_ecclayout infrastructure by something more
      future-proof.
    * addition of an mtd-activity led trigger to replace the nand-activity
      one
    
    And a bunch of specific NAND driver improvements/fixes. Here are the
    changes that are worth mentioning:
    * rework of the OMAP GPMC and NAND drivers
    * prepare the sunxi NAND driver to receive DMA support
    * handle bitflips in erased pages on GPMI revisions that do not support
      this in hardware.
    
    * tag 'nand/for-4.7' of github.com:linux-nand/linux: (152 commits)
      mtd: brcmnand: respect ECC algorithm set by NAND subsystem
      gpmi-nand: Handle ECC Errors in erased pages
      Documentation: devicetree: deprecate "soft_bch" nand-ecc-mode value
      mtd: nand: add support for "nand-ecc-algo" DT property
      mtd: mtd: drop NAND_ECC_SOFT_BCH enum value
      mtd: drop support for NAND_ECC_SOFT_BCH as "soft_bch" mapping
      mtd: nand: read ECC algorithm from the new field
      mtd: nand: fsmc: validate ECC setup by checking algorithm directly
      mtd: nand: set ECC algorithm to Hamming on fallback
      staging: mt29f_spinand: set ECC algorithm explicitly
      CRIS v32: nand: set ECC algorithm explicitly
      mtd: nand: atmel: set ECC algorithm explicitly
      mtd: nand: davinci: set ECC algorithm explicitly
      mtd: nand: bf5xx: set ECC algorithm explicitly
      mtd: nand: omap2: Fix high memory dma prefetch transfer
      mtd: nand: omap2: Start dma request before enabling prefetch
      mtd: nandsim: add __init attribute
      mtd: nand: move of_get_nand_xxx() helpers into nand_base.c
      mtd: nand: sh_flctl: rely on generic DT parsing done in nand_scan_ident()
      mtd: nand: mxc: rely on generic DT parsing done in nand_scan_ident()
      ...
    2cbaf549
nand_base.c 120 KB