[U-Boot] [PATCH v2 2/4] mx5: Optimize lowlevel_init code size
Stefano Babic
sbabic at denx.de
Sun Sep 30 14:49:51 CEST 2012
On 14/08/2012 17:19, Benoît Thébaudeau wrote:
> Optimize mx5 lowlevel_init.S code size:
> - Compute values at compile time rather than at runtime where possible.
> - Assign r4 to hold the zero value rather than setting registers to 0 again and
> again.
> - Associate a function to setup_pll rather than expanding its large macro code
> multiple times.
> - Allocate constant values in section only if used.
>
> Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau at advansee.com>
> Cc: Stefano Babic <sbabic at denx.de>
> ---
Applied to u-boot-imx, next branch, thanks.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
More information about the U-Boot
mailing list