projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b6e517
)
mtd: atmel_nand: increase chip_delay
author
Raphaël Poggi
<poggi.raph@gmail.com>
Tue, 29 Jul 2014 13:27:27 +0000
(15:27 +0200)
committer
Brian Norris
<computersforpeace@gmail.com>
Tue, 19 Aug 2014 18:53:05 +0000
(11:53 -0700)
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>
drivers/mtd/nand/atmel_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/atmel_nand.c
b/drivers/mtd/nand/atmel_nand.c
index e321c564ff059d9b2553355130c2ed2f6005cb1e..77bd877d8f28b757995b3e71a78f95fb4e184052 100644
(file)
--- 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; /* 2
0us command delay time */
+ nand_chip->chip_delay =
40; /* 4
0us command delay time */
if (host->board.bus_width_16) /* 16-bit bus width */
nand_chip->options |= NAND_BUSWIDTH_16;