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
commit56190ed0fcdb453b218be4fcefa938850a81c83e (patch)
treee9ea299478862360b7ec361c7d80f9fb9f4deddf /target/linux/generic/files/fs/yaffs2/yaffs_packedtags2.h
parent73c75e0dd862a8898bcf377aa265574c6a7f3c81 (diff)
downloadupstream-56190ed0fcdb453b218be4fcefa938850a81c83e.tar.gz
upstream-56190ed0fcdb453b218be4fcefa938850a81c83e.tar.bz2
upstream-56190ed0fcdb453b218be4fcefa938850a81c83e.zip
generic: fold yaffs_cvs_2009_04_24 patch to generic/files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34012
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