• Linus Torvalds's avatar
    Merge tag 'for-linus-20160523' of git://git.infradead.org/linux-mtd · 8bc4d5f3
    Linus Torvalds authored
    Pull MTD updates from Brian Norris:
     "First cycle with Boris as NAND maintainer! Many (most) bullets stolen
      from him.
    
      Generic:
       - Migrated NAND LED trigger to be a generic MTD trigger
    
      NAND:
       - Introduction of the "ECC algorithm" concept, to avoid overloading
         the ECC mode field too much more
       - Replaced the nand_ecclayout infrastructure with something a little
         more flexible (finally!) and future proof
       - Rework of the OMAP GPMC and NAND drivers; the TI folks pulled some
         of this into their own tree as well
       - Prepare the sunxi NAND driver to receive DMA support
       - Handle bitflips in erased pages on GPMI revisions that do not
         support this in hardware.
    
      SPI NOR:
       - Start using the spi_flash_read() API for SPI drivers that support
         it (i.e., SPI drivers with special memory-mapped flash modes)
    
      And other small scattered improvments"
    
    * tag 'for-linus-20160523' of git://git.infradead.org/linux-mtd: (155 commits)
      mtd: spi-nor: support GigaDevice gd25lq64c
      mtd: nand_bch: fix spelling of "probably"
      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
      ...
    8bc4d5f3
nandsim.c 67.2 KB