summaryrefslogtreecommitdiff
path: root/target/linux/xburst/patches-2.6.32/220-add-2gb-nand-support.patch
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-01-11 04:44:45 +0000
committerLars-Peter Clausen <lars@metafoo.de>2010-01-11 04:44:45 +0000
commit541158d5ad4a941d927a397737b6588d2e4db22d (patch)
treee49a97f18123413611824b8993e9acff9d681bae /target/linux/xburst/patches-2.6.32/220-add-2gb-nand-support.patch
parentdb06ca593b3d80ec514ecb2b20d49e3638cd3f0b (diff)
downloadmtk-20170518-541158d5ad4a941d927a397737b6588d2e4db22d.zip
mtk-20170518-541158d5ad4a941d927a397737b6588d2e4db22d.tar.gz
mtk-20170518-541158d5ad4a941d927a397737b6588d2e4db22d.tar.bz2
Merge xburst target.
SVN-Revision: 19098
Diffstat (limited to 'target/linux/xburst/patches-2.6.32/220-add-2gb-nand-support.patch')
-rw-r--r--target/linux/xburst/patches-2.6.32/220-add-2gb-nand-support.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/xburst/patches-2.6.32/220-add-2gb-nand-support.patch b/target/linux/xburst/patches-2.6.32/220-add-2gb-nand-support.patch
new file mode 100644
index 0000000..1716a0b
--- /dev/null
+++ b/target/linux/xburst/patches-2.6.32/220-add-2gb-nand-support.patch
@@ -0,0 +1,25 @@
+From f6bc2e17eaa2628f614a675781e9dc101084df9a Mon Sep 17 00:00:00 2001
+From: Lars-Peter Clausen <lars@metafoo.de>
+Date: Mon, 11 Jan 2010 04:29:47 +0100
+Subject: [PATCH] /opt/Projects/openwrt/target/linux/xburst/patches-2.6.31/220-add-2gb-nand-support.patch
+
+---
+ include/mtd/mtd-abi.h | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/include/mtd/mtd-abi.h b/include/mtd/mtd-abi.h
+index be51ae2..cf90168 100644
+--- a/include/mtd/mtd-abi.h
++++ b/include/mtd/mtd-abi.h
+@@ -134,7 +134,7 @@ struct nand_oobfree {
+ */
+ struct nand_ecclayout {
+ __u32 eccbytes;
+- __u32 eccpos[64];
++ __u32 eccpos[72];
+ __u32 oobavail;
+ struct nand_oobfree oobfree[MTD_MAX_OOBFREE_ENTRIES];
+ };
+--
+1.5.6.5
+