1. 14 3月, 2013 1 次提交
  2. 04 2月, 2013 1 次提交
  3. 19 1月, 2013 1 次提交
  4. 13 12月, 2012 1 次提交
  5. 03 12月, 2012 6 次提交
  6. 18 11月, 2012 2 次提交
  7. 16 11月, 2012 1 次提交
    • M
      mtd: nand_wait: warn if the nand is busy on exit · f251b8df
      Matthieu CASTET 提交于
      This patch allow to detect buggy driver/hardware with
      bad RnB (dev_ready) management or when timeout occurs in polling mode.
      
      This works when dev_ready is set or not set.
      There are 2 methods to wait for an erase/program command completion:
      
      1. Wait until nand RnB pin goes high (that's what chip->dev_ready usually does)
      2. Poll the device: send a status (0x70) command and read status byte in a loop
         until bit NAND_STATUS_READY is set
      
      In all cases, you should send a status command after completion, to check if
      the operation was successful. And if the operation completed, the status should
      have bit NAND_STATUS_READY set.
      Signed-off-by: NMatthieu CASTET <matthieu.castet@parrot.com>
      Signed-off-by: NArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
      f251b8df
  8. 15 11月, 2012 3 次提交
  9. 10 10月, 2012 1 次提交
    • B
      mtd: nand: fix Samsung SLC NAND identification regression · bc86cf7a
      Brian Norris 提交于
      A combination of the following two commits caused a regression in 3.7-rc1
      when identifying some Samsung NAND, so that some previously working NAND
      were no longer detected properly:
      
          commit e3b88bd6
          mtd: nand: add generic READ ID length calculation functions
      
          commit e2d3a35e
          mtd: nand: detect Samsung K9GBG08U0A, K9GAG08U0F ID
      
      Particularly, a regression was seen on Samsung K9F2G08U0B, with the
      following full 8-byte READ ID string:
      
          ec da 10 95 44 00 ec da
      
      The basic problem is that Samsung manufactures both SLC and MLC NAND
      that use a non-standard decoding table for deriving information from
      their IDs. I have heuristically determined that all the chips that use
      the new table have ID strings which wrap around after the 6th byte.
      Unfortunately, I overlooked the fact that some older Samsung SLC (which
      use a different decoding table) have "5 byte ID strings" which also wrap
      around after the 6th byte.
      
      This patch re-introduces a distinction between these old and new Samsung
      NAND by checking that the 6th byte is non-zero, allowing both old and
      new Samsung NAND to be detected properly.
      Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
      Tested-by: NBrian Norris <computersforpeace@gmail.com>
      Reported-by: NMarek Vasut <marex@denx.de>
      Tested-by: NMarek Vasut <marex@denx.de>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      bc86cf7a
  10. 29 9月, 2012 12 次提交
  11. 17 7月, 2012 1 次提交
  12. 07 7月, 2012 2 次提交
  13. 09 6月, 2012 1 次提交
  14. 14 5月, 2012 7 次提交