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:
parent
b7bee2858b
commit
e21cb649a2
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user