diff options
author | Richard Purdie <rpurdie@openedhand.com> | 2007-07-10 16:03:47 +0100 |
---|---|---|
committer | Josh Boyer <jwboyer@gmail.com> | 2007-07-23 08:11:52 -0500 |
commit | 826c6adca21edd413ea32126be25ecf22cc13417 (patch) | |
tree | 8b476d2e61e5b6b8c3fcc255cb4f3078450c366c /compr.h | |
parent | 82f09a8b4e214e51c394ed9ff8882d1e736e205b (diff) |
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 <rpurdie@openedhand.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
Diffstat (limited to 'compr.h')
-rw-r--r-- | compr.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |