Jean-Christophe PLAGNIOL-VILLARD
971d164f62
param: add config to disable it
...
this will allow to save 992 Bytes for TI xlaoder or AT91 bootstrap
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2012-01-11 21:22:34 +08:00
Jean-Christophe PLAGNIOL-VILLARD
e7aa252938
uncompress: add config to disable it
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2012-01-11 21:22:34 +08:00
Robert Jarzmik
fa4d33d146
lib: add bitrev utility
...
Add bit reversing utility, taken from the linux kernel.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-02 12:34:58 +01:00
Robert Jarzmik
1bfde3cea9
lib: add BCH encoding/decoding
...
As flash memories need BCH correcting codes, add the BCH
library, taken from the linux kernel.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-01-02 12:34:58 +01:00
Sascha Hauer
0ee6847f7b
Merge branch 'next'
2011-12-07 12:03:13 +01:00
Sascha Hauer
d24e4fcb99
lib: remove nonexistest files from Makefile
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-01 15:11:15 +01:00
Sascha Hauer
eb1c2e7de6
Add generic uncompress function
...
uncompress() has the same prototype as the various kernel decompress
functions. It automatically detects the compression type and selects
the correct uncompress function.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-11-29 21:12:42 +01:00
Sascha Hauer
4b09cdc798
add kernel gunzip implementation
...
The kernel uncompression functions have a unified API so use this
implementation to get it.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-11-29 21:12:42 +01:00
Sascha Hauer
5930f100aa
use kernel bunzip implementation
...
The kernel uncompression functions have a unified API. Switch
to the kernel implementation to unify the different uncompression
APIs. As a bonus the kernel implementation is much smaller.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-11-29 21:12:27 +01:00
Sascha Hauer
9135dd5f67
initial libfdt support
...
vanilla libfdt 1.3.0 from the dtc git:
git://git.jdl.com/software/dtc.git
Only small adjustments to compile with barebox
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-10-19 10:08:48 +02:00
Jean-Christophe PLAGNIOL-VILLARD
4ac3a1f9e0
move digest to crypto/
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-10-12 08:52:48 +02:00
Jean-Christophe PLAGNIOL-VILLARD
85283965dc
drivers/bus: move to drivers/base
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2011-07-21 13:44:04 +08:00
Sascha Hauer
6bc37ca831
remove dead ldiv code
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-10-21 22:21:25 +02:00
Jean-Christophe PLAGNIOL-VILLARD
c3ad283b8b
add sha256 support
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2010-09-20 08:57:22 +02:00
Jean-Christophe PLAGNIOL-VILLARD
3b0850e515
add sha1 support
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2010-09-20 08:57:21 +02:00
Jean-Christophe PLAGNIOL-VILLARD
0e3339a0e2
add md5 support
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2010-09-20 08:57:21 +02:00
Sascha Hauer
a33bc77bdd
add rbtree support (needed for ubi)
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 13:00:01 +02:00
Sascha Hauer
257da5cac0
add progression bar function
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-28 10:43:55 +02:00
Sascha Hauer
738d70e430
include support for a simple pseudo number generator
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-22 15:44:44 +02:00
Sascha Hauer
adaffb5b0c
add process_escape_sequence function
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-30 14:14:58 +02:00
Sascha Hauer
6d079ae2ca
add unlzo support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-30 14:14:58 +02:00
Sascha Hauer
a205b87fa2
make copy_file() globally available
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-25 13:33:52 +02:00
Sascha Hauer
06a20b38f8
Add notifier framework
...
This is loosely based on the Linux notifier framework, but
stripped down to the bare minimum.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-05-13 16:00:11 +02:00
Sascha Hauer
4511a8873b
we need different bus types
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-04-07 10:42:33 +02:00
Nishanth Menon
5fc0e871d5
U-Boot-V2:Bitops: asm-generic bitops
...
This introduces selected generic bitop files from
kernel. We don't need minix, ext2, sched or lock
based bitops. Those have been dropped.
Signed-off-by: Nishanth Menon <x0nishan@ti.com>
2008-08-15 08:47:49 +02:00
Nishanth Menon
296ea53c68
008-fixloadb
...
[Patch 08/17] U-Boot-V2:Commands Unbreak loadb support
This patch provides support for loadb and loady and enables the broken feature
Signed-off-by: Nishanth Menon<x0nishan@ti.com>
2008-06-05 19:45:20 +02:00
Sascha Hauer
8f35e16333
add stringlist function. They can be used to build a list
...
of strings. For now mainly useful to print the resulting
list in columns which is used in tab completion and ls.
2008-03-11 21:38:22 +01:00
Sascha Hauer
38e5fc1735
add glob to Makefile
2008-03-09 23:15:22 +01:00
Sascha Hauer
46d5705395
implement mkdir -p
2007-09-27 11:59:18 +02:00
Sascha Hauer
ca5ae599d6
add recursive_action() and concat_subpath_file() from busybox
2007-09-24 17:00:49 +02:00
Sascha Hauer
d97304aef2
add libbb functions
2007-09-24 01:36:07 +02:00
Sascha Hauer
90a17da95c
add kernel kfifo implementation
2007-09-21 21:29:32 +02:00
Sascha Hauer
bc1e507198
add gunzip
2007-07-05 21:23:42 +02:00
Sascha Hauer
b2c5310d4d
svn_rev_653
...
restructure tree, add reginfo command
2007-07-05 18:02:14 +02:00
Sascha Hauer
4b07af6730
svn_rev_643
...
structure cleanup
2007-07-05 18:02:13 +02:00
Sascha Hauer
4a660c0877
svn_rev_639
2007-07-05 18:02:12 +02:00