9
0
Fork 0
barebox/lib
Jean-Christophe PLAGNIOL-VILLARD a3463cc128 lib/decompress_unlzo: use fill and full to read and write data
this will all to simplify the sync with the kernel and later easly add the
self decompression support to barebox

as example with a lzo compression will reduce barebox from 180224 to 99863
bytes so 55.41%
-rwxr-xr-x 1 root root  99863 Jan 28 02:17 build/versatilepb/barebox.bin.lzo

we also reduce the binary size by 224 bytes

Old version
# ls -al build/versatilepb/barebox.bin
-rwxr-xr-x 1 root root 180468 Jan 28 02:14 build/versatilepb/barebox.bin

New version
# ls -al build/versatilepb/barebox*
-rwxr-xr-x 1 root root 180244 Jan 28 02:13 build/versatilepb/barebox.bin

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-28 19:05:00 +01:00
..
lzo add unlzo support 2010-03-30 14:14:58 +02:00
Kconfig digest: align menu 2010-11-01 11:44:48 +01:00
Makefile remove dead ldiv code 2010-10-21 22:21:25 +02:00
bus.c rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00
bzlib.c svn_rev_639 2007-07-05 18:02:12 +02:00
bzlib_crctable.c svn_rev_639 2007-07-05 18:02:12 +02:00
bzlib_decompress.c svn_rev_639 2007-07-05 18:02:12 +02:00
bzlib_huffman.c svn_rev_639 2007-07-05 18:02:12 +02:00
bzlib_private.h svn_rev_639 2007-07-05 18:02:12 +02:00
bzlib_randtable.c svn_rev_639 2007-07-05 18:02:12 +02:00
copy_file.c copy_file: sparse fixes 2010-10-21 22:21:23 +02:00
crc16.c svn_rev_643 2007-07-05 18:02:13 +02:00
crc32.c crc32: sparse fixes 2010-10-21 22:21:23 +02:00
ctype.c svn_rev_639 2007-07-05 18:02:12 +02:00
decompress_unlzo.c lib/decompress_unlzo: use fill and full to read and write data 2011-01-28 19:05:00 +01:00
display_options.c export symbols 2007-10-07 14:27:24 +02:00
div64.c svn_rev_639 2007-07-05 18:02:12 +02:00
driver.c doc: unify documentation for 'devinfo' 2010-11-01 16:23:09 +01:00
find_next_bit.c U-Boot-V2:Bitops: asm-generic bitops 2008-08-15 08:47:49 +02:00
fnmatch.c fnmatch:sparse fixes 2010-10-21 22:21:22 +02:00
getopt.c Export symbols printf and the ones needed for getopt 2007-10-01 10:26:45 +02:00
glob.c glob: sparse fixes 2010-10-21 22:21:22 +02:00
gunzip.c add gunzip 2007-07-05 21:23:42 +02:00
kfifo.c add kernel kfifo implementation 2007-09-21 21:29:32 +02:00
libbb.c libbb: sparse fixes 2010-10-21 22:21:25 +02:00
libgen.c rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00
make_directory.c rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00
md5.c add md5 support 2010-09-20 08:57:21 +02:00
misc.c replace 8 spaces with tabs 2007-10-11 20:56:18 +02:00
notifier.c list: remove duplicated list.h 2009-11-03 09:48:53 +01:00
parameter.c doc: fix wrongly named parameter 2010-10-22 20:47:03 +02:00
process_escape_sequence.c process_escape_sequence: Add missing include 2010-10-21 22:21:42 +02:00
random.c include support for a simple pseudo number generator 2010-06-22 15:44:44 +02:00
rbtree.c add rbtree support (needed for ubi) 2010-07-05 13:00:01 +02:00
readkey.c Remove unnecessary casts in key defines 2009-12-18 16:44:54 +01:00
readline.c Silence few warnings. 2010-12-21 09:02:40 +01:00
readline_simple.c implement TAB completion 2008-03-01 21:08:14 +01:00
recursive_action.c rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00
sha1.c sha1/sha256: use be32_to_cpu and cpu_to_be32 2010-09-22 10:32:09 +02:00
sha256.c sha1/sha256: use be32_to_cpu and cpu_to_be32 2010-09-22 10:32:09 +02:00
show_progress.c add progression bar function 2010-06-28 10:43:55 +02:00
string.c string: add strlcpy support 2010-08-06 19:09:38 +02:00
stringlist.c stringlist: Fix printing on smaller consoles 2009-10-15 16:06:05 +02:00
vsprintf.c LED: Add LED trigger support 2010-12-20 09:57:35 +01:00
xfuncs.c Fix error handling with malloc, memalign etc. Introduce xmemalign(). 2011-01-07 10:21:22 +01:00
zlib.c svn_rev_639 2007-07-05 18:02:12 +02:00