aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/fs/yaffs2/yaffs_packedtags2.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-10-30 14:58:13 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-10-30 14:58:13 +0000
commit029a10f4cb5ae60cd0a649d750182ec8b7bbb84f (patch)
tree0a4bed19ae252dbcaf22aa2e7b188a9126cca9d2 /target/linux/generic/files/fs/yaffs2/yaffs_packedtags2.h
parent1369cbd8deead254ffe388d9ec835b358d9c3f01 (diff)
downloadmaster-187ad058-029a10f4cb5ae60cd0a649d750182ec8b7bbb84f.tar.gz
master-187ad058-029a10f4cb5ae60cd0a649d750182ec8b7bbb84f.tar.bz2
master-187ad058-029a10f4cb5ae60cd0a649d750182ec8b7bbb84f.zip
generic: fold yaffs_cvs_2009_04_24 patch to generic/files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34012 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/fs/yaffs2/yaffs_packedtags2.h')
-rw-r--r--target/linux/generic/files/fs/yaffs2/yaffs_packedtags2.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/target/linux/generic/files/fs/yaffs2/yaffs_packedtags2.h b/target/linux/generic/files/fs/yaffs2/yaffs_packedtags2.h
index c2242ffe76..ec30f843bc 100644
--- a/target/linux/generic/files/fs/yaffs2/yaffs_packedtags2.h
+++ b/target/linux/generic/files/fs/yaffs2/yaffs_packedtags2.h
@@ -33,6 +33,11 @@ typedef struct {
yaffs_ECCOther ecc;
} yaffs_PackedTags2;
-void yaffs_PackTags2(yaffs_PackedTags2 * pt, const yaffs_ExtendedTags * t);
-void yaffs_UnpackTags2(yaffs_ExtendedTags * t, yaffs_PackedTags2 * pt);
+/* Full packed tags with ECC, used for oob tags */
+void yaffs_PackTags2(yaffs_PackedTags2 *pt, const yaffs_ExtendedTags *t);
+void yaffs_UnpackTags2(yaffs_ExtendedTags *t, yaffs_PackedTags2 *pt);
+
+/* Only the tags part (no ECC for use with inband tags */
+void yaffs_PackTags2TagsPart(yaffs_PackedTags2TagsPart *pt, const yaffs_ExtendedTags *t);
+void yaffs_UnpackTags2TagsPart(yaffs_ExtendedTags *t, yaffs_PackedTags2TagsPart *pt);
#endif