mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
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> |
||
|---|---|---|
| .. | ||
| libfdt | ||
| lzma | ||
| lzo | ||
| addr_map.c | ||
| bzlib.c | ||
| bzlib_crctable.c | ||
| bzlib_decompress.c | ||
| bzlib_huffman.c | ||
| bzlib_private.h | ||
| bzlib_randtable.c | ||
| circbuf.c | ||
| crc16.c | ||
| crc32.c | ||
| ctype.c | ||
| display_options.c | ||
| div64.c | ||
| errno.c | ||
| gunzip.c | ||
| hashtable.c | ||
| ldiv.c | ||
| lmb.c | ||
| Makefile | ||
| md5.c | ||
| net_utils.c | ||
| qsort.c | ||
| rbtree.c | ||
| sha1.c | ||
| sha256.c | ||
| string.c | ||
| strmhz.c | ||
| time.c | ||
| vsprintf.c | ||
| zlib.c | ||