]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
driver/mtd/ifc: Read Status while programming NAND flash
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Thu, 3 Oct 2013 06:05:35 +0000 (11:35 +0530)
committerScott Wood <scottwood@freescale.com>
Thu, 14 Nov 2013 00:43:39 +0000 (18:43 -0600)
commited5ac34a33821809ddee6307aa6dc80aeb0245a7
tree69b16e93c98362c57f63749db98acd5d5ea4f616
parent7604a3f920031aa6f3426eedf44494b69ae291e1
driver/mtd/ifc: Read Status while programming NAND flash

as per controller description,
  "While programming a NAND flash, status read should never skipped.
   Because it may happen that a new command is issued to the NAND Flash,
   even when the device has not yet finished processing the previous request.
   This may result in unpredictable behaviour."

IFC controller never polls for R/B signal after command send. It just return
control to software. This behaviour may not occur with NAND flash access.
because new commands are sent after polling R/B signal. But it may happen
in scenario where GPCM-ASIC and NAND flash device are working simultaneously.

Update the controller driver to take care of this requirement

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
drivers/mtd/nand/fsl_ifc_nand.c