mtd: fsl_ifc_nand: wait tWB time, poll R/B before command execution
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Thu, 8 Nov 2012 08:12:59 +0000 (13:42 +0530)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 16 Nov 2012 08:57:39 +0000 (10:57 +0200)
commitd6ba745d0a073a0f48053fa4744ab2e86c310aad
tree6ab2fea9ee603fbbe534fbd430eb55d091fcbf7a
parent5d27aa5af04f58f3020de1c224dcf8a62151fd58
mtd: fsl_ifc_nand: wait tWB time, poll R/B before command execution

IFC_FIR_OP_CMD0 issues command for execution without checking flash
readiness. It may cause problem if flash is not ready. Instead use
IFC_FIR_OP_CW0 which Wait for tWB time and poll R/B to return high or
time-out, before issuing command.

NAND_CMD_READID command implemention does not fulfill above requirement. So
update its programming.

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Signed-off-by: Hemant Nautiyal <hemant.nautiyal@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/nand/fsl_ifc_nand.c
This page took 0.02458 seconds and 5 git commands to generate.