• Linus Torvalds's avatar
    Merge tag 'mtd/for-4.20' of git://git.infradead.org/linux-mtd · a36cf686
    Linus Torvalds authored
    Pull mtd updates from Boris Brezillon:
     "SPI NOR core changes:
       - Support non-uniform erase size
       - Support controllers with limited TX fifo size
    
     Driver changes:
       - m25p80: Re-issue a WREN command after each write access
       - cadence: Pass a proper dir value to dma_[un]map_single()
       - fsl-qspi: Check fsl_qspi_get_seqid() return val make sure 4B
         addressing opcodes are properly handled
       - intel-spi: Add a new PCI entry for Ice Lake
    
     Raw NAND core changes:
       - Two batchs of cleanups of the NAND API, including:
          * Deprecating a lot of interfaces (now replaced by ->exec_op()).
          * Moving code in separate drivers (JEDEC, ONFI), in private files
            (internals), in platform drivers, etc.
          * Functions/structures reordering.
          * Exclusive use of the nand_chip structure instead of the MTD one
            all across the subsystem.
       - Addition of the nand_wait_readrdy/rdy_op() helpers.
    
     Raw NAND controllers drivers changes:
       - Various coccinelle patches.
       - Marvell:
          * Use regmap_update_bits() for syscon access.
          * More documentation.
          * BCH failure path rework.
          * More layouts to be supported.
          * IRQ handler complete() condition fixed.
       - Fsl_ifc:
          * SRAM initialization fixed for newer controller versions.
       - Denali:
          * Fix licenses mismatch and use a SPDX tag.
          * Set SPARE_AREA_SKIP_BYTES register to 8 if unset.
       - Qualcomm:
          * Do not include dma-direct.h.
       - Docg4:
          * Removed.
       - Ams-delta:
          * Use of a GPIO lookup table
          * Internal machinery changes.
    
     Raw NAND chip drivers changes:
       - Toshiba:
          * Add support for Toshiba memory BENAND
          * Pass a single nand_chip object to the status helper.
       - ESMT:
          * New driver to retrieve the ECC requirements from the 5th ID
            byte.
    
      MTD changes:
       - physmap cleanups/fixe
       - gpio-addr-flash cleanups/fixes"
    
    * tag 'mtd/for-4.20' of git://git.infradead.org/linux-mtd: (93 commits)
      jffs2: free jffs2_sb_info through jffs2_kill_sb()
      mtd: spi-nor: fsl-quadspi: fix read error for flash size larger than 16MB
      mtd: spi-nor: intel-spi: Add support for Intel Ice Lake SPI serial flash
      mtd: maps: gpio-addr-flash: Convert to gpiod
      mtd: maps: gpio-addr-flash: Replace array with an integer
      mtd: maps: gpio-addr-flash: Use order instead of size
      mtd: spi-nor: fsl-quadspi: Don't let -EINVAL on the bus
      mtd: devices: m25p80: Make sure WRITE_EN is issued before each write
      mtd: spi-nor: Support controllers with limited TX FIFO size
      mtd: spi-nor: cadence-quadspi: Use proper enum for dma_[un]map_single
      mtd: spi-nor: parse SFDP Sector Map Parameter Table
      mtd: spi-nor: add support to non-uniform SFDP SPI NOR flash memories
      mtd: rawnand: marvell: fix the IRQ handler complete() condition
      mtd: rawnand: denali: set SPARE_AREA_SKIP_BYTES register to 8 if unset
      mtd: rawnand: r852: fix spelling mistake "card_registred" -> "card_registered"
      mtd: rawnand: toshiba: Pass a single nand_chip object to the status helper
      mtd: maps: gpio-addr-flash: Use devm_* functions
      mtd: maps: gpio-addr-flash: Fix ioremapped size
      mtd: maps: gpio-addr-flash: Replace custom printk
      mtd: physmap_of: Release resources on error
      ...
    a36cf686
m25p80.c 9.33 KB