u-boot-brain/lib
Stefan Roese f852628638 zlib/gunzip: Use WATCHDOG_RESET macro
As usually done in U-Boot, the watchdog_reset code is called via a
macro (WATCHDOG_RESET). In zlib.c this was done differently, by using
a function pointer which is initialized with WATCHDOG_RESET upon watchdog
usage or with NULL otherwise. This patch now uses the plain
WATCHDOG_RESET macros to call the function resulting in slightly smaller
U-Boot images and simpler code.

U-Boot code size reduction:

PowerPC board with watchdog support (lwmon5):
-> 80 bytes smaller image size

PowerPC board without watchdog support (sequoia):
-> 112 bytes smaller image size

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Acked-by: Detlev Zundel <dzu@denx.de>
2010-10-12 21:15:10 +02:00
..
libfdt Move libfdt/ into lib/ 2010-04-13 09:13:04 +02:00
lzma Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
lzo Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
addr_map.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
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
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 Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
display_options.c display_buffer: fix misaligned buffer 2010-09-13 13:15:07 +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
gunzip.c zlib/gunzip: Use WATCHDOG_RESET macro 2010-10-12 21:15:10 +02:00
hashtable.c lib/hashtable.c: add CONFIG_ENV_MIN_ENTRIES 2010-10-06 22:46:35 +02:00
ldiv.c Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
lmb.c Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
Makefile Add hash table support as base for new environment code 2010-09-19 19:29:47 +02:00
md5.c Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
net_utils.c Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
qsort.c Add qsort - add support for sorting data arrays 2010-09-19 19:29:47 +02:00
rbtree.c Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
sha1.c Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
sha256.c Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
string.c Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
strmhz.c Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
time.c Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
vsprintf.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
zlib.c zlib/gunzip: Use WATCHDOG_RESET macro 2010-10-12 21:15:10 +02:00