u-boot-brain/cpu
Haavard Skinnemoen a8092c021d avr32: Fix theoretical race in udelay()
If the specified delay is very short, the cycle counter may go past the
"end" time we are waiting for before we get around to reading it.

Fix it by checking the different between the cycle count "now" and the
cycle count at the beginning. This will work as long as the delay
measured in number of cycles is below 2^31.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
2008-05-27 15:27:31 +02:00
..
74xx_7xx 7450 and 86xx L2 cache invalidate bug corrections 2008-05-09 20:46:48 +02:00
arm720t Big white-space cleanup. 2008-05-21 00:14:08 +02:00
arm920t Big white-space cleanup. 2008-05-21 00:14:08 +02:00
arm925t Big white-space cleanup. 2008-05-21 00:14:08 +02:00
arm926ejs Big white-space cleanup. 2008-05-21 00:14:08 +02:00
arm946es Big white-space cleanup. 2008-05-21 00:14:08 +02:00
arm1136 Big white-space cleanup. 2008-05-21 00:14:08 +02:00
arm_intcm Big white-space cleanup. 2008-05-21 00:14:08 +02:00
at32ap avr32: Fix theoretical race in udelay() 2008-05-27 15:27:31 +02:00
blackfin Big white-space cleanup. 2008-05-21 00:14:08 +02:00
i386 Big white-space cleanup. 2008-05-21 00:14:08 +02:00
ixp Big white-space cleanup. 2008-05-21 00:14:08 +02:00
leon2 Big white-space cleanup. 2008-05-21 00:14:08 +02:00
leon3 Big white-space cleanup. 2008-05-21 00:14:08 +02:00
lh7a40x Big white-space cleanup. 2008-05-21 00:14:08 +02:00
mcf52x2 Big white-space cleanup. 2008-05-21 00:14:08 +02:00
mcf523x Big white-space cleanup. 2008-05-21 00:14:08 +02:00
mcf532x Big white-space cleanup. 2008-05-21 00:14:08 +02:00
mcf547x_8x Big white-space cleanup. 2008-05-21 00:14:08 +02:00
mcf5227x Revert "ColdFire: Get information from the correct GCC" 2008-05-03 23:07:15 +02:00
mcf5445x Big white-space cleanup. 2008-05-21 00:14:08 +02:00
microblaze [PATCH] Add support for design without interrupt controller 2007-09-24 00:21:19 +02:00
mips Fix some whitespace issues 2008-05-21 16:56:08 +02:00
mpc5xx Big white-space cleanup. 2008-05-21 00:14:08 +02:00
mpc5xxx Big white-space cleanup. 2008-05-21 00:14:08 +02:00
mpc8xx Big white-space cleanup. 2008-05-21 00:14:08 +02:00
mpc83xx Big white-space cleanup. 2008-05-21 00:14:08 +02:00
mpc85xx Merge branch 'socrates' of /home/wd/git/u-boot/projects 2008-05-21 01:13:52 +02:00
mpc86xx Big white-space cleanup. 2008-05-21 00:14:08 +02:00
mpc512x Big white-space cleanup. 2008-05-21 00:14:08 +02:00
mpc824x Big white-space cleanup. 2008-05-21 00:14:08 +02:00
mpc8220 Big white-space cleanup. 2008-05-21 00:14:08 +02:00
mpc8260 Big white-space cleanup. 2008-05-21 00:14:08 +02:00
nios Big white-space cleanup. 2008-05-21 00:14:08 +02:00
nios2 Big white-space cleanup. 2008-05-21 00:14:08 +02:00
ppc4xx Big white-space cleanup. 2008-05-21 00:14:08 +02:00
pxa Big white-space cleanup. 2008-05-21 00:14:08 +02:00
s3c44b0 Big white-space cleanup. 2008-05-21 00:14:08 +02:00
sa1100 Big white-space cleanup. 2008-05-21 00:14:08 +02:00
sh3 sh: Add support SH3 and SH7720 2008-01-15 23:30:40 +09:00
sh4 Big white-space cleanup. 2008-05-21 00:14:08 +02:00