Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68452
b: refs/heads/master
c: 1100b47
h: refs/heads/master
v: v3
  • Loading branch information
Ivan Kuten authored and David Woodhouse committed Jun 28, 2007
1 parent db29686 commit 42c9547
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4854b75c7795604ea6a0b6b7f549f145813343d0
refs/heads/master: 1100b47ea557e1cd6d9b71fe7ba1a189ed8bf276
5 changes: 4 additions & 1 deletion trunk/drivers/mtd/nand/at91_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ static int __init at91_nand_probe(struct platform_device *pdev)
nand_chip->IO_ADDR_R = host->io_base;
nand_chip->IO_ADDR_W = host->io_base;
nand_chip->cmd_ctrl = at91_nand_cmd_ctrl;
nand_chip->dev_ready = at91_nand_device_ready;

if (host->board->rdy_pin)
nand_chip->dev_ready = at91_nand_device_ready;

nand_chip->ecc.mode = NAND_ECC_SOFT; /* enable ECC */
nand_chip->chip_delay = 20; /* 20us command delay time */

Expand Down

0 comments on commit 42c9547

Please sign in to comment.