diff options
Diffstat (limited to 'drivers/mtd/nand/davinci_nand.c')
| -rw-r--r-- | drivers/mtd/nand/davinci_nand.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c index f13f5b9afaf7..fe3eba87de40 100644 --- a/drivers/mtd/nand/davinci_nand.c +++ b/drivers/mtd/nand/davinci_nand.c | |||
| @@ -591,6 +591,8 @@ static int __init nand_davinci_probe(struct platform_device *pdev) | |||
| 591 | 591 | ||
| 592 | /* options such as NAND_USE_FLASH_BBT or 16-bit widths */ | 592 | /* options such as NAND_USE_FLASH_BBT or 16-bit widths */ |
| 593 | info->chip.options = pdata->options; | 593 | info->chip.options = pdata->options; |
| 594 | info->chip.bbt_td = pdata->bbt_td; | ||
| 595 | info->chip.bbt_md = pdata->bbt_md; | ||
| 594 | 596 | ||
| 595 | info->ioaddr = (uint32_t __force) vaddr; | 597 | info->ioaddr = (uint32_t __force) vaddr; |
| 596 | 598 | ||
| @@ -599,7 +601,7 @@ static int __init nand_davinci_probe(struct platform_device *pdev) | |||
| 599 | info->mask_chipsel = pdata->mask_chipsel; | 601 | info->mask_chipsel = pdata->mask_chipsel; |
| 600 | 602 | ||
| 601 | /* use nandboot-capable ALE/CLE masks by default */ | 603 | /* use nandboot-capable ALE/CLE masks by default */ |
| 602 | info->mask_ale = pdata->mask_cle ? : MASK_ALE; | 604 | info->mask_ale = pdata->mask_ale ? : MASK_ALE; |
| 603 | info->mask_cle = pdata->mask_cle ? : MASK_CLE; | 605 | info->mask_cle = pdata->mask_cle ? : MASK_CLE; |
| 604 | 606 | ||
| 605 | /* Set address of hardware control function */ | 607 | /* Set address of hardware control function */ |
