diff options
author | Richard Purdie <rpurdie@openedhand.com> | 2007-07-10 16:03:31 +0100 |
---|---|---|
committer | Josh Boyer <jwboyer@gmail.com> | 2007-07-23 08:11:21 -0500 |
commit | 82f09a8b4e214e51c394ed9ff8882d1e736e205b (patch) | |
tree | d92d6b68d2576204c4a80136c362096816eca704 /compr.c | |
parent | a6fa706fe9e7696b4b2045edf9698c3bac07e3e3 (diff) |
Add lzo support to mtd-utils
Add LZO support to mtd-utils to generate LZO compressed jffs2 images
Unlike the kernel version, the standard lzo userspace library is used
along with lzo1x_999_compress rather than the lzo1x_1_compress version
since better compression ratios can be obtained (at no significant cost
to decompression time).
Signed-off-by: Richard Purdie <rpurdie@openedhand.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
Diffstat (limited to 'compr.c')
-rw-r--r-- | compr.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -474,6 +474,9 @@ int jffs2_compressors_init(void) #ifdef CONFIG_JFFS2_RTIME jffs2_rtime_init(); #endif +#ifdef CONFIG_JFFS2_LZO + jffs2_lzo_init(); +#endif return 0; } @@ -485,5 +488,8 @@ int jffs2_compressors_exit(void) #ifdef CONFIG_JFFS2_ZLIB jffs2_zlib_exit(); #endif +#ifdef CONFIG_JFFS2_LZO + jffs2_lzo_exit(); +#endif return 0; } |