[PATCH 1/2] mtd: atmel_nand: increase chip_delay

Bo Shen voice.shen at atmel.com
Thu Jul 17 03:02:50 PDT 2014


Hi Raphael,

On 07/17/2014 04:51 PM, Raphael Poggi wrote:
> Some nand like Micron MT29F32G08ABAAAWP need more than 20us.
>
> Signed-off-by: Raphaël Poggi <poggi.raph at gmail.com>

Acked-by: Bo Shen <voice.shen at atmel.com>

> ---
>   drivers/mtd/nand/atmel_nand.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
> index 3161e89..a02f38f 100644
> --- a/drivers/mtd/nand/atmel_nand.c
> +++ b/drivers/mtd/nand/atmel_nand.c
> @@ -1162,7 +1162,7 @@ static int __init atmel_nand_probe(struct device_d *dev)
>   		nand_chip->ecc.mode = NAND_ECC_HW;
>   	}
>
> -	nand_chip->chip_delay = 20;		/* 20us command delay time */
> +	nand_chip->chip_delay = 40;		/* 40us command delay time */
>
>   	if (IS_ENABLED(CONFIG_NAND_ECC_BCH) &&
>   			pdata->ecc_mode == NAND_ECC_SOFT_BCH) {
>

Best Regards,
Bo Shen



More information about the barebox mailing list