1. 03 Dec, 2012 7 commits
  2. 22 Nov, 2012 15 commits
  3. 21 Nov, 2012 8 commits
  4. 18 Nov, 2012 4 commits
  5. 16 Nov, 2012 5 commits
  6. 15 Nov, 2012 1 commit
    • Matthieu CASTET's avatar
      mtd: nand_wait: warn if the nand is busy on exit · f251b8df
      Matthieu CASTET authored
      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: default avatarMatthieu CASTET <matthieu.castet@parrot.com>
      Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
      f251b8df