Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45684
b: refs/heads/master
c: dd11b8c
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Victor authored and David Woodhouse committed Dec 8, 2006
1 parent f46a16c commit 415c2ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4a0c50c07a6100ca58d465bac951533347e18d71
refs/heads/master: dd11b8cdf0c455f4cfbc5daa70aabce9dcc6c07b
3 changes: 3 additions & 0 deletions trunk/drivers/mtd/nand/at91_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ static int __init at91_nand_probe(struct platform_device *pdev)
nand_chip->ecc.mode = NAND_ECC_SOFT; /* enable ECC */
nand_chip->chip_delay = 20; /* 20us command delay time */

if (host->board->bus_width_16) /* 16-bit bus width */
nand_chip->options |= NAND_BUSWIDTH_16;

platform_set_drvdata(pdev, host);
at91_nand_enable(host);

Expand Down

0 comments on commit 415c2ed

Please sign in to comment.