mtd: atmel_nand: increase chip_delay

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Wed Oct 15 23:59:01 PDT 2014


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=796fe3648a13b311f5b9a125e2d2532a2ce7c78a
Commit:     796fe3648a13b311f5b9a125e2d2532a2ce7c78a
Parent:     9b6e5172e363b0c35a6be4d3197f3bcdc789292e
Author:     Raphaël Poggi <poggi.raph at gmail.com>
AuthorDate: Tue Jul 29 15:27:27 2014 +0200
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Tue Aug 19 11:53:05 2014 -0700

    mtd: atmel_nand: increase chip_delay
    
    Some nand with 8k page size like Micron MT29F32G08ABAAAWP need more than 20us.
    
    Signed-off-by: Raphaël Poggi <poggi.raph at gmail.com>
    Signed-off-by: Brian Norris <computersforpeace at gmail.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 e321c56..77bd877 100644
--- a/drivers/mtd/nand/atmel_nand.c
+++ b/drivers/mtd/nand/atmel_nand.c
@@ -2099,7 +2099,7 @@ static int atmel_nand_probe(struct platform_device *pdev)
 	}
 
 	nand_chip->ecc.mode = host->board.ecc_mode;
-	nand_chip->chip_delay = 20;		/* 20us command delay time */
+	nand_chip->chip_delay = 40;		/* 40us command delay time */
 
 	if (host->board.bus_width_16)	/* 16-bit bus width */
 		nand_chip->options |= NAND_BUSWIDTH_16;



More information about the linux-mtd-cvs mailing list