driver/mtd/IFC:Wait tWB time, poll R/B before command execution
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Wed, 7 Nov 2012 21:52:27 +0000 (21:52 +0000)
committerScott Wood <scottwood@freescale.com>
Fri, 21 Dec 2012 21:34:54 +0000 (15:34 -0600)
commitba427678a419a59c091e1c816c13852fa05b24bf
treef5da906abcbf33430b5b32e0edece6d21800c197
parent42e1321874f8a51373972c293f369c6973c85339
driver/mtd/IFC: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>
drivers/mtd/nand/fsl_ifc_nand.c