uboot/arch
John Rigby aadcfc179a OMAP[34]: fix broken timer
As implemented now the timer used to implement __udelay counts
to 0xffffffff and then gets stuck there because the the programmed
reload value is 0xffffffff.  This value is not only wrong but
illegal according to the reference manual.

One can reproduce the bug by leaving a board at the u-boot prompt
for sometime then issuing a sleep command.  The sleep will hang
forever.

The timer is a count up timer that reloads as it rolls over
from 0xffffffff so the correct load value is 0.

Change TIMER_LOAD_VAL from 0xffffffff to 0 and introduce
a new constant called TIMER_OVERFLOW_VAL set to 0xffffffff.

Signed-off-by: John Rigby <john.rigby@linaro.org>
Tested-by: Igor Grinberg <grinberg@compulab.co.il>
2011-07-04 10:55:26 +02:00
..
arm OMAP[34]: fix broken timer 2011-07-04 10:55:26 +02:00
avr32 avr32: add ATAG_BOARDINFO 2011-05-18 07:56:54 +02:00
blackfin Blackfin: use on-chip reset func with newer parts 2011-06-03 13:26:45 -04:00
m68k Merge branch 'master' of git://git.denx.de/u-boot-arm 2011-04-27 21:48:09 +02:00
microblaze Make STANDALONE_LOAD_ADDR configurable per board 2011-04-12 22:58:32 +02:00
mips MIPS: Move timer code to arch/mips/cpu/$(CPU)/ 2011-05-10 00:12:31 +09:00
nios2 nios2: Make STANDALONE_LOAD_ADDR configurable per board 2011-05-16 21:00:43 -04:00
powerpc powerpc/fsl_pci: Fix device tree fixups for newer platforms 2011-05-20 00:48:41 -05:00
sh Handle most LDSCRIPT setting centrally 2011-04-30 00:59:47 +02:00
sparc Make STANDALONE_LOAD_ADDR configurable per board 2011-04-12 22:58:32 +02:00
x86 Minor coding style cleanup. 2011-05-19 22:22:44 +02:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00