[U-Boot] driver/mtd/IFC:Wait tWB time, poll R/B before command execution

Scott Wood scottwood at freescale.com
Fri Dec 21 22:37:11 CET 2012


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 <prabhakar at freescale.com>
> Signed-off-by: Hemant Nautiyal <hemant.nautiyal at freescale.com>
> 
> ---
> 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



More information about the U-Boot mailing list