Commit 796fe364 authored by Raphaël Poggi's avatar Raphaël Poggi Committed by Brian Norris

mtd: atmel_nand: increase chip_delay

Some nand with 8k page size like Micron MT29F32G08ABAAAWP need more than 20us.
Signed-off-by: default avatarRaphaël Poggi <poggi.raph@gmail.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 9b6e5172
...@@ -2099,7 +2099,7 @@ static int atmel_nand_probe(struct platform_device *pdev) ...@@ -2099,7 +2099,7 @@ static int atmel_nand_probe(struct platform_device *pdev)
} }
nand_chip->ecc.mode = host->board.ecc_mode; 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 */ if (host->board.bus_width_16) /* 16-bit bus width */
nand_chip->options |= NAND_BUSWIDTH_16; nand_chip->options |= NAND_BUSWIDTH_16;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment