1
0
Fork 0
remarkable-uboot/lib
Joe Hershberger 7afcf3a55b env: Refactor apply into change_ok
Move the read of the old value to inside the check function.  In some
cases it can be avoided all together and at the least the code is only
called from one place.

Also name the function and the callback to more clearly describe what
it does.

Pass the ENTRY instead of just the name for direct access to the whole
data structure.

Pass an enum to the callback that specifies the operation being approved.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
2012-12-13 11:46:55 -07:00
..
libfdt libfdt: Add helper function to create a trivial, empty tree 2012-10-15 22:24:36 -04: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
Makefile Make linux kernel string funcs available to tools 2012-12-13 11:46:07 -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 Small coding style fix in lib/asm-offsets.c 2011-01-17 22:55:58 +01:00
bch.c nand: Merge BCH code from Linux nand driver 2012-01-26 16:09:02 -06:00
bzlib.c Rename lib_generic/ to lib/ 2010-04-13 09:13: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
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 Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
ctype.c ctype: constify lookup table 2010-11-28 21:58:29 +01:00
display_options.c unify version_string 2011-07-28 17:22:53 +02: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.c fdt: Remove fdtdec_find_alias_node() function 2012-11-12 23:15:25 -05:00
fdtdec_test.c fdt: Add tests for fdtdec 2012-03-29 08:12:47 +02: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
hashtable.c env: Refactor apply into change_ok 2012-12-13 11:46:55 -07: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
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
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
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:fix: Change type returned by ustrtoul 2012-12-13 11:46:02 -07:00