summaryrefslogtreecommitdiff
path: root/cpu/blackfin/traps.c
diff options
context:
space:
mode:
authorAlessandro Rubini <rubini-list@gnudd.com>2010-02-06 20:53:54 +0100
committerTom Rix <Tom.Rix@windriver.com>2010-02-07 15:05:56 -0600
commitce262f98386add06254bb96322d087502f0cbe9d (patch)
tree6db535f3b4b5cc9827777bb69c33e47aba929bcb /cpu/blackfin/traps.c
parentbb9d864b950b711a3d6b983d96c0f2b151f48bc2 (diff)
downloadu-boot-imx-ce262f98386add06254bb96322d087502f0cbe9d.zip
u-boot-imx-ce262f98386add06254bb96322d087502f0cbe9d.tar.gz
u-boot-imx-ce262f98386add06254bb96322d087502f0cbe9d.tar.bz2
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>
Diffstat (limited to 'cpu/blackfin/traps.c')
0 files changed, 0 insertions, 0 deletions