aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand
diff options
context:
space:
mode:
authorRaphaël Poggi <poggi.raph@gmail.com>2014-07-29 09:27:27 -0400
committerBrian Norris <computersforpeace@gmail.com>2014-08-19 14:53:05 -0400
commit796fe3648a13b311f5b9a125e2d2532a2ce7c78a (patch)
tree27dc9c71e66adecd694e2d93668a1943ddd3b14f /drivers/mtd/nand
parent9b6e5172e363b0c35a6be4d3197f3bcdc789292e (diff)
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@gmail.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r--drivers/mtd/nand/atmel_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
index e321c564ff05..77bd877d8f28 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)
2099 } 2099 }
2100 2100
2101 nand_chip->ecc.mode = host->board.ecc_mode; 2101 nand_chip->ecc.mode = host->board.ecc_mode;
2102 nand_chip->chip_delay = 20; /* 20us command delay time */ 2102 nand_chip->chip_delay = 40; /* 40us command delay time */
2103 2103
2104 if (host->board.bus_width_16) /* 16-bit bus width */ 2104 if (host->board.bus_width_16) /* 16-bit bus width */
2105 nand_chip->options |= NAND_BUSWIDTH_16; 2105 nand_chip->options |= NAND_BUSWIDTH_16;