Re: [U-Boot] [PATCH v2 2/4] mx5: Optimize lowlevel_init code size

2012-09-30 Thread Stefano Babic
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

Re: [U-Boot] [PATCH v2 2/4] mx5: Optimize lowlevel_init code size

2012-09-30 Thread Stefano Babic
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

[U-Boot] [PATCH v2 2/4] mx5: Optimize lowlevel_init code size

2012-08-14 Thread Benoît Thébaudeau
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 tim