1. 05 Nov, 2014 17 commits
  2. 30 Oct, 2014 3 commits
  3. 29 Oct, 2014 2 commits
  4. 23 Oct, 2014 1 commit
    • Akinobu Mita's avatar
      nandsim: add id_bytes module parameter · b00358a5
      Akinobu Mita authored
      nandsim can simulate NAND Flash which returns the ID bytes specified
      by first_id_byte, ..., fourth_id_byte module parameters.
      
      In order to simulate NAND flash which returns more than four ID bytes,
      this adds id_bytes module parameter which is specified by the array of
      byte like this:
      
       # modprobe nandsim id_bytes=0x98,0xdc,0x90,0x26,0x76,0x15,0x01,0x08 bch=1
      
      This doesn't add fifth_id_byte, ..., seventh_id_byte module parameters,
      because they are redundant.  But the existing first_id_byte, ...,
      fourth_id_byte module parameters are preserved and add "(obsolete)" to
      the description.
      
      Cc: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Brian Norris <computersforpeace@gmail.com>
      Cc: linux-mtd@lists.infradead.org
      Signed-off-by: default avatarAkinobu Mita <akinobu.mita@gmail.com>
      Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
      b00358a5
  5. 22 Oct, 2014 14 commits
  6. 21 Oct, 2014 2 commits
    • Brian Norris's avatar
      MTD: merge 3.18 development into -next development · 577267f3
      Brian Norris authored
      To keep the two paths in sync
      577267f3
    • Ben Hutchings's avatar
      mtd: m25p80,spi-nor: Fix module aliases for m25p80 · a5b7616c
      Ben Hutchings authored
      m25p80's device ID table is now spi_nor_ids, defined in spi-nor.  The
      MODULE_DEVICE_TABLE() macro doesn't work with extern definitions, but
      its use was also removed at the same time.  Now if m25p80 is built as
      a module it doesn't get the necessary aliases to be loaded
      automatically.
      
      A clean solution to this will involve defining the list of device
      IDs in spi-nor.h and removing struct spi_device_id from the spi-nor
      API, but this is quite a large change.
      
      As a quick fix suitable for stable, copy the device IDs back into
      m25p80.
      
      Fixes: 03e296f6 ("mtd: m25p80: use the SPI nor framework")
      Cc: <stable@vger.kernel.org> # 3.16.x: 32f1b7c8: mtd: move support for struct flash_platform_data into m25p80
      Cc: <stable@vger.kernel.org> # 3.16.x: 90e55b38: mtd: m25p80: get rid of spi_get_device_id
      Cc: <stable@vger.kernel.org> # 3.16.x: 70f3ce05: mtd: spi-nor: make spi_nor_scan() take a chip type name, not spi_device_id
      Cc: <stable@vger.kernel.org> # 3.16.x
      Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
      Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
      a5b7616c
  7. 20 Oct, 2014 1 commit