ar71xx: disable sub-page writes on routerboard nand drivers
[openwrt/openwrt.git] / target / linux / ar71xx / files / drivers / mtd / nand / rb4xx_nand.c
index 981bfcf69d4a328f7ea8e1cf8ced349ee6978400..f2b430ec4b74bebf3f0c02e21f1baad5f476d4bf 100644 (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);