[U-Boot] [PATCH 2/3] edb93xx: change calculation un early_udelay.h
Matthias Kaehlcke
matthias at kaehlcke.net
Sat Feb 6 23:17:40 CET 2010
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 <rubini at gnudd.com>
Acked-by: Matthias Kaehlcke <matthias at 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 `-
More information about the U-Boot
mailing list