[U-Boot-Users] [PATCH] Memory footprint optimizations

Wolfgang Denk wd at denx.de
Mon Apr 14 21:50:49 CEST 2008


In message <480353D3.4090607 at 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




More information about the U-Boot mailing list