commit | 822bd70db49773b4d57eaa484dca83386a6b3479 | [log] [tgz] |
---|---|---|
author | Alessandro Rubini <rubini-list@gnudd.com> | Sat Feb 06 20:53:54 2010 +0100 |
committer | Tom Rix <Tom.Rix@windriver.com> | Fri Feb 12 12:31:54 2010 -0600 |
tree | 7b22e277341c22043bb2749cd77f86556d0736ec | |
parent | c50a0f503967d435150bbb9f2f816ce33afdf231 [diff] |
edb93xx: change calculation un early_udelay.h 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@gnudd.com>