Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176959
b: refs/heads/master
c: f611a79
h: refs/heads/master
i:
  176957: b757ef5
  176955: 185db82
  176951: 71d385f
  176943: 8c068bf
  176927: f10b7e6
  176895: 55d9bbb
v: v3
  • Loading branch information
Mark A. Greer authored and David Woodhouse committed Nov 30, 2009
1 parent b8bc16a commit 804ae30
Show file tree
Hide file tree
Showing 3 changed files with 7 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: 837479d25e221ba616de2c734f58e1decd8cdb95
refs/heads/master: f611a79fe9859a30f2a7ae94b4d24f8e2dd75c91
4 changes: 4 additions & 0 deletions trunk/arch/arm/mach-davinci/include/mach/nand.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ struct davinci_nand_pdata { /* platform_data */

/* e.g. NAND_BUSWIDTH_16 or NAND_USE_FLASH_BBT */
unsigned options;

/* Main and mirror bbt descriptor overrides */
struct nand_bbt_descr *bbt_td;
struct nand_bbt_descr *bbt_md;
};

#endif /* __ARCH_ARM_DAVINCI_NAND_H */
2 changes: 2 additions & 0 deletions trunk/drivers/mtd/nand/davinci_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,8 @@ static int __init nand_davinci_probe(struct platform_device *pdev)

/* options such as NAND_USE_FLASH_BBT or 16-bit widths */
info->chip.options = pdata->options;
info->chip.bbt_td = pdata->bbt_td;
info->chip.bbt_md = pdata->bbt_md;

info->ioaddr = (uint32_t __force) vaddr;

Expand Down

0 comments on commit 804ae30

Please sign in to comment.