El Sat, Feb 06, 2010 at 08:53:54PM +0100 Alessandro Rubini ha dit: > Previous code compiled with gcc-4.2.2 makes a call to > __aeabi_uidiv to divide by 20. As a side effect it was > not inline any more, and so sdram_cfg used the stack > as well, but this is early code that has no stack yet. > The patch explicitly removes the division, so no stack is used. > > The calculation of the counter calls a division by 20 > > Signed-off-by: Alessandro Rubini <rub...@gnudd.com>
Acked-by: Matthias Kaehlcke <matth...@kaehlcke.net> -- Matthias Kaehlcke Embedded Linux Developer Barcelona We build too many walls and not enough bridges (Isaac Newton) .''`. using free software / Debian GNU/Linux | http://debian.org : :' : `. `'` gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4 `- _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot