summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-3.3/a02-ar934x_nfc-add-NO_AUTOINCR-flag.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-10-28 12:21:15 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-10-28 12:21:15 +0000
commita6549ac1cbe00295dcf8274eeba09effb5103d4a (patch)
tree6a978c642a68b1b53e2aec7f7d1d10c36268c1b2 /target/linux/ar71xx/patches-3.3/a02-ar934x_nfc-add-NO_AUTOINCR-flag.patch
parent9a37cf7ec68590d341c777f33f2ae6e5f9ef92bc (diff)
downloadmaster-31e0f0ae-a6549ac1cbe00295dcf8274eeba09effb5103d4a.tar.gz
master-31e0f0ae-a6549ac1cbe00295dcf8274eeba09effb5103d4a.tar.bz2
master-31e0f0ae-a6549ac1cbe00295dcf8274eeba09effb5103d4a.zip
ar71xx: remove NO_AUTOINCR flag from the NAND drivers
The flag is not present in 3.6. Also add compatibility patches for 3.3. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33971
Diffstat (limited to 'target/linux/ar71xx/patches-3.3/a02-ar934x_nfc-add-NO_AUTOINCR-flag.patch')
-rw-r--r--target/linux/ar71xx/patches-3.3/a02-ar934x_nfc-add-NO_AUTOINCR-flag.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-3.3/a02-ar934x_nfc-add-NO_AUTOINCR-flag.patch b/target/linux/ar71xx/patches-3.3/a02-ar934x_nfc-add-NO_AUTOINCR-flag.patch
new file mode 100644
index 0000000000..fad9eacb3b
--- /dev/null
+++ b/target/linux/ar71xx/patches-3.3/a02-ar934x_nfc-add-NO_AUTOINCR-flag.patch
@@ -0,0 +1,11 @@
+reverted:
+--- a/drivers/mtd/nand/ar934x_nfc.c
++++ b/drivers/mtd/nand/ar934x_nfc.c
+@@ -1051,6 +1051,7 @@ ar934x_nfc_probe(struct platform_device
+ else
+ mtd->name = dev_name(&pdev->dev);
+
++ nand->options = NAND_NO_AUTOINCR;
+ nand->chip_delay = 25;
+ nand->ecc.mode = NAND_ECC_SOFT;
+