From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Fri, 21 Dec 2012 15:37:11 -0600 Subject: [U-Boot] driver/mtd/IFC:Wait tWB time, poll R/B before command execution In-Reply-To: <1352361147-21959-1-git-send-email-prabhakar@freescale.com> References: <1352361147-21959-1-git-send-email-prabhakar@freescale.com> Message-ID: <20121221213711.GA30744@buserror.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Nov 07, 2012 at 09:52:27PM -0000, Prabhakar Kushwaha wrote: > 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 > Signed-off-by: Hemant Nautiyal > > --- > Please note this patch depends upon following patch: > "driver/mtd:IFC NAND:Initialise internal SRAM before any write" > http://patchwork.ozlabs.org/patch/183550/ > > > drivers/mtd/nand/fsl_ifc_nand.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied to u-boot-nand-flash -- I missed it earlier. Next time please make sure "nand" is in the subject line. Ideally prefix it as "nand/fsl_ifc: wait tWB time..." rather than "driver/mtd/IFC:Wait tWB time...". -Scott