diff options
| author | Bartlomiej Sieka <tur@semihalf.com> | 2008-04-18 12:39:23 +0200 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2008-04-24 17:21:55 +0200 | 
| commit | edbed247a14d70b94958010f736621212285de91 (patch) | |
| tree | 9a12403755db2dfe959f5b0133b05bc69d0db4f5 /tools/mkimage.c | |
| parent | 0a0b606faaec4afb3f750b09aa4df1e40a39dcb8 (diff) | |
| download | olio-uboot-2014.01-edbed247a14d70b94958010f736621212285de91.tar.xz olio-uboot-2014.01-edbed247a14d70b94958010f736621212285de91.zip | |
Memory footprint optimizations
As suggested by Wolfgang Denk:
- image printing functions:
  - remove wrappers
  - remove indentation prefix from functions' signatures
- merge getenv_verify and getenv_autostart into one parametrized function
Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
Diffstat (limited to 'tools/mkimage.c')
| -rw-r--r-- | tools/mkimage.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/tools/mkimage.c b/tools/mkimage.c index 6e1ff2b1e..ea7a826f8 100644 --- a/tools/mkimage.c +++ b/tools/mkimage.c @@ -229,10 +229,10 @@ NXTARG:		;  		if (fdt_check_header (ptr)) {  			/* old-style image */  			image_verify_header ((char *)ptr, sbuf.st_size); -			image_print_contents_noindent ((image_header_t *)ptr); +			image_print_contents ((image_header_t *)ptr);  		} else {  			/* FIT image */ -			fit_print_contents_noindent (ptr); +			fit_print_contents (ptr);  		}  		(void) munmap((void *)ptr, sbuf.st_size); @@ -363,7 +363,7 @@ NXTARG:		;  	image_set_hcrc (hdr, checksum); -	image_print_contents_noindent (hdr); +	image_print_contents (hdr);  	(void) munmap((void *)ptr, sbuf.st_size); |