From 826c6adca21edd413ea32126be25ecf22cc13417 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 10 Jul 2007 16:03:47 +0100 Subject: Add favourlzo compression mode Add a favourlzo compression mode to mtd-utils This allows lzo compression to be used in the cases where the compression ratio isn't quite as good zlib. This can make sense in certain use cases because LZO decompression is much faster than zlib. Signed-off-by: Richard Purdie Signed-off-by: Josh Boyer --- compr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'compr.h') diff --git a/compr.h b/compr.h index 597e3c8..c4e199a 100644 --- a/compr.h +++ b/compr.h @@ -32,6 +32,7 @@ #define JFFS2_COMPR_MODE_NONE 0 #define JFFS2_COMPR_MODE_PRIORITY 1 #define JFFS2_COMPR_MODE_SIZE 2 +#define JFFS2_COMPR_MODE_FAVOURLZO 3 #define kmalloc(a,b) malloc(a) #define kfree(a) free(a) -- cgit v1.2.3