On Tue, May 11, 2010 at 5:29 AM, Nick Thompson <nick.thomp...@ge.com> wrote: > Modification of print_size to avoid use of divides and especially > long long divides. Keep the binary scale factor in terms of bit > shifts instead. This should be faster, since the previous code > gave the compiler no clues that the divides where always powers > of two, preventing optimisation. > > Signed-off-by: Nick Thompson <nick.thomp...@ge.com> > ---
Acked-by: Timur Tabi <ti...@freescale.com> I don't know if this solves the problem on ARM, but it works on PowerPC. -- Timur Tabi Linux kernel developer at Freescale _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot