Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100768
b: refs/heads/master
c: f4db56f
h: refs/heads/master
v: v3
  • Loading branch information
Saeed Bishara authored and Nicolas Pitre committed Jun 30, 2008
1 parent 15697c1 commit abfb8e0
Show file tree
Hide file tree
Showing 3 changed files with 5 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: 395aed6de6d063bc234a179d65d3b6d720ce589a
refs/heads/master: f4db56ffd43a810424866fac6de9a32486415316
3 changes: 3 additions & 0 deletions trunk/drivers/mtd/nand/orion_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ static int __init orion_nand_probe(struct platform_device *pdev)
nc->cmd_ctrl = orion_nand_cmd_ctrl;
nc->ecc.mode = NAND_ECC_SOFT;

if (board->chip_delay)
nc->chip_delay = board->chip_delay;

if (board->width == 16)
nc->options |= NAND_BUSWIDTH_16;

Expand Down
1 change: 1 addition & 0 deletions trunk/include/asm-arm/plat-orion/orion_nand.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ struct orion_nand_data {
u8 ale; /* address line number connected to ALE */
u8 cle; /* address line number connected to CLE */
u8 width; /* buswidth */
u8 chip_delay;
};


Expand Down

0 comments on commit abfb8e0

Please sign in to comment.