u-boot/lib
Mike Dunn 0dd9c7a924 lib: import bitrev library from the linux kernel
This patch adds the bitrev library from the linux kernel.  This is a simple
algorithm that uses an 8 bit look-up table to reverse the bits in data types of
8, 16, or 32 bit widths.  The docg4 nand flash driver uses it.

[port from linux kernel v3.9 commit 7ee32a6d30d1c8a3b7a07a6269da8f0a08662927]
[originally added: v2.6.20 by commit a5cfc1ec58a07074dacb6aa8c79eff864c966d12]

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
2013-05-05 23:47:04 +02:00
..
libfdt libfdt: update from upstream dtc commit 142419e 2013-02-07 20:38:55 -05:00
lzma lzma: update to lzma sdk 9.20 2012-12-06 13:56:38 -07:00
lzo GCC4.6: Squash warning in lzo1x_decompress.c 2011-10-01 23:34:38 +02:00
tizen create lib/tizen directory 2012-05-25 09:15:10 +02:00
zlib lib/zlib: sparse fixes 2012-11-04 11:00:36 -07:00
addr_map.c lib/powerpc: addrmap_phys_to_virt() should return a pointer 2012-07-06 17:30:32 -05:00
aes.c Add AES crypto library 2012-05-15 08:31:37 +02:00
asm-offsets.c arm: move C runtime setup code in crt0.S 2013-01-08 22:14:50 +01:00
bch.c nand: Merge BCH code from Linux nand driver 2012-01-26 16:09:02 -06:00
bitrev.c lib: import bitrev library from the linux kernel 2013-05-05 23:47:04 +02:00
bzlib_crctable.c Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
bzlib_decompress.c Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
bzlib_huffman.c Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
bzlib_private.h Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
bzlib_randtable.c Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
bzlib.c Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
circbuf.c Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
crc7.c lib: add crc7 from Linux 2011-01-18 23:38:08 +01:00
crc16.c Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
crc32.c crc32: Correct endianness of crc32 result 2013-04-19 10:24:14 -04:00
ctype.c ctype: constify lookup table 2010-11-28 21:58:29 +01:00
display_options.c display_options:print_buffer: align ASCII print 2013-03-11 17:00:28 -04:00
div64.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
errno.c Add basic errno support. 2010-09-19 19:29:47 +02:00
fdtdec_test.c fdt: Add tests for fdtdec 2012-03-29 08:12:47 +02:00
fdtdec.c fdt: Skip checking FDT if the pointer is NULL 2013-05-01 11:17:21 -04:00
gunzip.c gunzip: rename z{alloc, free} to gz{alloc, free} 2012-04-30 16:54:51 +02:00
gzip.c lib: add gzip lib function callback 2012-09-29 07:26:08 -07:00
hang.c lib: consolidate hang() 2013-05-01 16:41:08 -04:00
hashtable.c "env grep" - add support for regular expression matches 2013-05-01 16:24:00 -04:00
initcall.c Introduce a basic initcall implementation 2013-03-15 16:13:59 -04:00
ldiv.c Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
linux_string.c Make linux kernel string funcs available to tools 2012-12-13 11:46:07 -07:00
lmb.c Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
Makefile lib: import bitrev library from the linux kernel 2013-05-05 23:47:04 +02:00
md5.c GCC47: Fix warning in md5.c 2012-04-29 14:14:08 +02:00
net_utils.c string_to_ip: constify "s" arg 2010-11-28 21:56:39 +01:00
physmem.c Introduce arch_phys_memset which works like memset but on physical memory 2012-12-06 14:30:40 -08:00
qsort.c Include common.h in qsort.c to fix build warning 2011-12-07 08:39:54 +01:00
rand.c lib: add rand() function 2012-07-07 14:07:32 +02:00
rbtree.c Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
sha1.c sha1: Use const where possible, and unsigned for input len 2012-12-11 13:17:33 -07:00
sha256.c sha256: Use const where possible and add watchdog function 2012-12-11 13:17:33 -07:00
slre.c Add SLRE - Super Light Regular Expression library 2013-05-01 16:24:00 -04:00
string.c Make linux kernel string funcs available to tools 2012-12-13 11:46:07 -07:00
strmhz.c strmhz: Make hz unsigned to support greater than 2146 MHz clock 2011-03-22 23:34:36 +01:00
time.c Move bootstage timer out of lib/time.c 2012-04-10 23:35:32 +02:00
tpm.c tpm: Add TPM command library 2013-04-12 14:13:13 -07:00
uuid.c lib: add uuid_str_to_bin for use with bootp and PXE uuid 2011-10-17 22:25:35 +02:00
vsprintf.c vsprintf: add ustrtoll function 2013-02-19 17:01:26 -05:00