• Linus Torvalds's avatar
    Merge tag 'mtd/for-4.16' of git://git.infradead.org/linux-mtd · 0fc7e746
    Linus Torvalds authored
    Pull MTD updates from Boris Brezillon:
     "MTD core changes:
       - Rework core functions to avoid duplicating generic checks in
         NAND/OneNAND sub-layers
       - Update the MAINTAINERS entry to reflect the fact that MTD
         maintainers now use a single git tree
    
      MTD driver changes:
       - CFI: use macros instead of inline functions to limit stack usage
         and make KASAN happy
    
      NAND core changes:
       - Fix NAND_CMD_NONE handling in nand_command[_lp]() hooks
       - Introduce the ->exec_op() infrastructure
       - Rework NAND buffers handling
       - Fix ECC requirements for K9F4G08U0D
       - Fix nand_do_read_oob() to return the number of bitflips
       - Mark K9F1G08U0E as not supporting subpage writes
    
      NAND driver changes:
       - MTK: Rework the driver to support new IP versions
       - OMAP OneNAND: Full rework to use new APIs (libgpio, dmaengine) and
         fix DT support
       - Marvell: Add a new driver to replace the pxa3xx one
    
      SPI NOR core changes:
       - Add support to new ISSI and Cypress/Spansion memory parts.
       - Fix support of Micron memories by checking error bits in the FSR.
       - Fix update of block-protection bits by reading back the SR.
       - Restore the internal state of the SPI flash memory when removing
         the device.
    
      SPI NOR driver changes:
       - Maintenance for Freescale, Intel and Metiatek drivers.
       - Add support of the direct access mode for the Cadence QSPI
         controller"
    
    * tag 'mtd/for-4.16' of git://git.infradead.org/linux-mtd: (93 commits)
      mtd: nand: sunxi: Fix ECC strength choice
      mtd: nand: gpmi: Fix subpage reads
      mtd: nand: Fix build issues due to an anonymous union
      mtd: nand: marvell: Fix missing memory allocation modifier
      mtd: nand: marvell: remove redundant variable 'oob_len'
      mtd: nand: marvell: fix spelling mistake: "suceed"-> "succeed"
      mtd: onenand: omap2: Remove redundant dev_err call in omap2_onenand_probe()
      mtd: Remove duplicate checks on mtd_oob_ops parameter
      mtd: Fallback to ->_read/write_oob() when ->_read/write() is missing
      mtd: mtdpart: Make ECC stat handling consistent
      mtd: onenand: omap2: print resource using %pR format string
      mtd: mtk-nor: modify functions' name more generally
      mtd: onenand: samsung: remove incorrect __iomem annotation
      MAINTAINERS: Add entry for Marvell NAND controller driver
      ARM: OMAP2+: Remove gpmc-onenand
      mtd: onenand: omap2: Configure driver from DT
      mtd: onenand: omap2: Decouple DMA enabling from INT pin availability
      mtd: onenand: omap2: Do not make delay for GPIO OMAP3 specific
      mtd: onenand: omap2: Convert to use dmaengine for memcpy
      mtd: onenand: omap2: Unify OMAP2 and OMAP3 DMA implementation
      ...
    0fc7e746
pxa3xx_nand.c 55.1 KB