openwrt/target/linux/ar71xx/patches-3.3/a03-rb4xx_nand-add-NO_AUTOI...

12 lines
296 B
Diff

reverted:
--- a/drivers/mtd/nand/rb4xx_nand.c
+++ b/drivers/mtd/nand/rb4xx_nand.c
@@ -221,6 +221,7 @@ static int __devinit rb4xx_nand_probe(st
info->chip.chip_delay = 25;
info->chip.ecc.mode = NAND_ECC_SOFT;
+ info->chip.options |= NAND_NO_AUTOINCR;
platform_set_drvdata(pdev, info);