From: Wolfgang Denk Date: Thu, 10 Apr 2008 00:56:10 +0200 Subject: [U-Boot-Users] [PATCH] Memory footprint optimizations In-Reply-To: Your message of "Wed, 09 Apr 2008 23:37:34 +0200." <20080409213733.5006.37998.stgit@pollux.denx.de> Message-ID: <20080409225610.6043224842@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <20080409213733.5006.37998.stgit@pollux.denx.de> you wrote: > As suggested by Wolfgang Denk: > - remove wrappers for image printing function > - merge getenv_verify and getenv_autostart into one parametrized function ... > - image_print_contents (hdr); > + image_print_contents (hdr, " "); Now we have some 20+ calls of image_print_contents (hdr, " "); plus two calls of image_print_contents (hdr, ""); Maybe there is some clever way to get rid of this second argument? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Die meisten Menschen pflegen im Kindesalter vom Zeigen auf Gegenst?n- de (Mausbewegung) und "ga" sagen (Mausklick) abzukommen, zugunsten eines m?chtigeren und langwierig zu erlernenden Tools (Sprache). -- Achim Linder in de.comp.os.linux.misc