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.r...@gmail.com>

Acked-by: Bo Shen <voice.s...@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

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to