From: Wolfgang Denk Date: Mon, 14 Apr 2008 21:50:49 +0200 Subject: [U-Boot-Users] [PATCH] Memory footprint optimizations In-Reply-To: Your message of "Mon, 14 Apr 2008 14:53:39 +0200." <480353D3.4090607@semihalf.com> Message-ID: <20080414195049.F1CE9248A0@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 <480353D3.4090607@semihalf.com> you wrote: > > We could use the following two facts: > 1. the image contents are printed with only two indentations: 0 or 3 spaces, > 2. indentation with 3 spaces is used in U-Boot, indentation with 0 > spaces is used in mkimage. > > With the following change we could then drop the second argument altogether: Ah! Excellent. > +#ifdef USE_HOSTCC > + p = ""; > +#else > + p = " "; > +#endif > > If the above is what is wanted, I'll prepare a patch -- comments are > welcome. Yes, please. 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 War isn't a good life, but it's life. -- Kirk, "A Private Little War", stardate 4211.8