ar71xx: disable sub-page writes on routerboard nand drivers

They seem to fail in tests using UBI, and are not used by yaffs2

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2017-01-08 13:45:02 +01:00
parent b7bee2858b
commit e21cb649a2
3 changed files with 3 additions and 0 deletions

View File

@ -218,6 +218,7 @@ static int rb4xx_nand_probe(struct platform_device *pdev)
info->chip.chip_delay = 25;
info->chip.ecc.mode = NAND_ECC_SOFT;
info->chip.options = NAND_NO_SUBPAGE_WRITE;
platform_set_drvdata(pdev, info);

View File

@ -277,6 +277,7 @@ static int rb750_nand_probe(struct platform_device *pdev)
info->chip.chip_delay = 25;
info->chip.ecc.mode = NAND_ECC_SOFT;
info->chip.options = NAND_NO_SUBPAGE_WRITE;
info->pdata = pdata;

View File

@ -321,6 +321,7 @@ static int rb91x_nand_probe(struct platform_device *pdev)
rbni->chip.chip_delay = 25;
rbni->chip.ecc.mode = NAND_ECC_SOFT;
rbni->chip.options = NAND_NO_SUBPAGE_WRITE;
platform_set_drvdata(pdev, rbni);