aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.8/509-yaffs-3.4-add-underscore-to-mtd-internal-names.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-12-16 07:51:19 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-12-16 07:51:19 +0000
commit7e3644d3cf37cd24c3a295825200743123acbd91 (patch)
tree025ced24d4bc8a7632dcfc7b4f5d06b690fe6367 /target/linux/generic/patches-3.8/509-yaffs-3.4-add-underscore-to-mtd-internal-names.patch
parent85755deaf66746d5e2d65aedfda2352d566e9a53 (diff)
downloadupstream-7e3644d3cf37cd24c3a295825200743123acbd91.tar.gz
upstream-7e3644d3cf37cd24c3a295825200743123acbd91.tar.bz2
upstream-7e3644d3cf37cd24c3a295825200743123acbd91.zip
kernel: update yaffs code
Use the latest version of the yaffs code. Fetched from the yaffs2 git tree and it is based on the following commit: commit bc76682d93955cfb33051beb503ad9f8a5450578 Merge: 3a8580e ffa781d Author: Charles Manning <cdhmanning@gmail.com> Date: Thu Jul 11 17:46:25 2013 +1200 Merge branch 'master' of ssh://www.aleph1.co.uk/home/aleph1/git/yaffs2 Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39084
Diffstat (limited to 'target/linux/generic/patches-3.8/509-yaffs-3.4-add-underscore-to-mtd-internal-names.patch')
-rw-r--r--target/linux/generic/patches-3.8/509-yaffs-3.4-add-underscore-to-mtd-internal-names.patch72
1 files changed, 0 insertions, 72 deletions
diff --git a/target/linux/generic/patches-3.8/509-yaffs-3.4-add-underscore-to-mtd-internal-names.patch b/target/linux/generic/patches-3.8/509-yaffs-3.4-add-underscore-to-mtd-internal-names.patch
deleted file mode 100644
index 14f342da80..0000000000
--- a/target/linux/generic/patches-3.8/509-yaffs-3.4-add-underscore-to-mtd-internal-names.patch
+++ /dev/null
@@ -1,72 +0,0 @@
---- a/fs/yaffs2/yaffs_vfs_glue.c
-+++ b/fs/yaffs2/yaffs_vfs_glue.c
-@@ -2793,6 +2793,15 @@ static struct super_block *yaffs_interna
- return NULL;
- }
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 4, 0)
-+ T(YAFFS_TRACE_OS, (TSTR(" erase %p\n"), mtd->_erase));
-+ T(YAFFS_TRACE_OS, (TSTR(" read %p\n"), mtd->_read));
-+ T(YAFFS_TRACE_OS, (TSTR(" write %p\n"), mtd->_write));
-+ T(YAFFS_TRACE_OS, (TSTR(" readoob %p\n"), mtd->_read_oob));
-+ T(YAFFS_TRACE_OS, (TSTR(" writeoob %p\n"), mtd->_write_oob));
-+ T(YAFFS_TRACE_OS, (TSTR(" block_isbad %p\n"), mtd->_block_isbad));
-+ T(YAFFS_TRACE_OS, (TSTR(" block_markbad %p\n"), mtd->_block_markbad));
-+#else
- T(YAFFS_TRACE_OS, (TSTR(" erase %p\n"), mtd->erase));
- T(YAFFS_TRACE_OS, (TSTR(" read %p\n"), mtd->read));
- T(YAFFS_TRACE_OS, (TSTR(" write %p\n"), mtd->write));
-@@ -2800,6 +2809,7 @@ static struct super_block *yaffs_interna
- T(YAFFS_TRACE_OS, (TSTR(" writeoob %p\n"), mtd->write_oob));
- T(YAFFS_TRACE_OS, (TSTR(" block_isbad %p\n"), mtd->block_isbad));
- T(YAFFS_TRACE_OS, (TSTR(" block_markbad %p\n"), mtd->block_markbad));
-+#endif
- T(YAFFS_TRACE_OS, (TSTR(" %s %d\n"), WRITE_SIZE_STR, WRITE_SIZE(mtd)));
- T(YAFFS_TRACE_OS, (TSTR(" oobsize %d\n"), mtd->oobsize));
- T(YAFFS_TRACE_OS, (TSTR(" erasesize %d\n"), mtd->erasesize));
-@@ -2828,6 +2838,15 @@ static struct super_block *yaffs_interna
-
- if (yaffs_version == 2) {
- /* Check for version 2 style functions */
-+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 4, 0))
-+ if (!mtd->_erase ||
-+ !mtd->_block_isbad ||
-+ !mtd->_block_markbad ||
-+ !mtd->_read ||
-+ !mtd->_write ||
-+ !mtd->_read_oob ||
-+ !mtd->_write_oob) {
-+#else
- if (!mtd->erase ||
- !mtd->block_isbad ||
- !mtd->block_markbad ||
-@@ -2839,6 +2858,7 @@ static struct super_block *yaffs_interna
- !mtd->write_ecc ||
- !mtd->read_ecc || !mtd->read_oob || !mtd->write_oob) {
- #endif
-+#endif
- T(YAFFS_TRACE_ALWAYS,
- (TSTR("yaffs: MTD device does not support required "
- "functions\n")));
-@@ -2855,6 +2875,13 @@ static struct super_block *yaffs_interna
- }
- } else {
- /* Check for V1 style functions */
-+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 4, 0))
-+ if (!mtd->_erase ||
-+ !mtd->_read ||
-+ !mtd->_write ||
-+ !mtd->_read_oob ||
-+ !mtd->_write_oob) {
-+#else
- if (!mtd->erase ||
- !mtd->read ||
- !mtd->write ||
-@@ -2864,6 +2891,7 @@ static struct super_block *yaffs_interna
- !mtd->write_ecc ||
- !mtd->read_ecc || !mtd->read_oob || !mtd->write_oob) {
- #endif
-+#endif
- T(YAFFS_TRACE_ALWAYS,
- (TSTR("yaffs: MTD device does not support required "
- "functions\n")));