summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/jffs2_nand_1pass.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-01-15 11:10:33 +0100
committerWolfgang Denk <wd@denx.de>2010-01-15 11:16:47 +0100
commitf098337152ca48e135448f5e7836cce938e12bc0 (patch)
tree3035f5896ddf0f18fe059543eb145bc7c9c56e73 /fs/jffs2/jffs2_nand_1pass.c
parent2ff6922280025c1315c53fa2eb4ab33f0c9591de (diff)
downloadblackbird-obmc-uboot-f098337152ca48e135448f5e7836cce938e12bc0.tar.gz
blackbird-obmc-uboot-f098337152ca48e135448f5e7836cce938e12bc0.zip
JFFS2: drop support for LZARI compression mode
Support for LZARI compression mode was added based on a MTD CVS snapshot of March 13, 2005. However, fs/jffs2/compr_lzari.c contains contradictory licensing terms: the original copyright clause says "All rights reserved. Permission granted for non-commercial use.", but later reference to the file 'LICENCE' in the jffs2 directory was added which says GPL v2 or later. As no boards ever used LZARI compression, and this file is also not present in recent MTD code, we resolve this conflict by removing the conflicting file and references to it. Also copy the referenced but missing file 'LICENCE' from the current MTD source tree. Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'fs/jffs2/jffs2_nand_1pass.c')
-rw-r--r--fs/jffs2/jffs2_nand_1pass.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/fs/jffs2/jffs2_nand_1pass.c b/fs/jffs2/jffs2_nand_1pass.c
index fe8c70d91d..3982003a42 100644
--- a/fs/jffs2/jffs2_nand_1pass.c
+++ b/fs/jffs2/jffs2_nand_1pass.c
@@ -34,9 +34,8 @@ static char *compr_names[] = {
"COPY",
"DYNRUBIN",
"ZLIB",
-#if defined(CONFIG_JFFS2_LZO_LZARI)
+#if defined(CONFIG_JFFS2_LZO)
"LZO",
- "LZARI",
#endif
};
@@ -344,13 +343,10 @@ jffs2_1pass_read_inode(struct b_lists *pL, u32 ino, char *dest,
case JFFS2_COMPR_ZLIB:
ret = zlib_decompress(src, dst, inode->csize, inode->dsize);
break;
-#if defined(CONFIG_JFFS2_LZO_LZARI)
+#if defined(CONFIG_JFFS2_LZO)
case JFFS2_COMPR_LZO:
ret = lzo_decompress(src, dst, inode->csize, inode->dsize);
break;
- case JFFS2_COMPR_LZARI:
- ret = lzari_decompress(src, dst, inode->csize, inode->dsize);
- break;
#endif
default:
/* unknown */
OpenPOWER on IntegriCloud