Skip to content
Snippets Groups Projects
Commit 822bd70d authored by Alessandro Rubini's avatar Alessandro Rubini Committed by Tom Rix
Browse files

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: default avatarAlessandro Rubini <rubini@gnudd.com>
parent c50a0f50
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment