u-boot/cpu/blackfin
Graf Yang ec01481ddc Blackfin: fix timer_init()/timer_reset()
The timer_init() function was not using the right csync instruction, nor
was it doing it right after disabling the core timer.

The timer_reset() function would reset the timestamp, but not the actual
timer, so there was a common edge case where get_timer() return a jump of
one timestamp (couple milliseconds) right after resetting.  This caused
many functions to improperly timeout right away.

Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-19 04:57:33 -04:00
..
.gitignore Blackfin: unify cpu and boot modes 2008-03-30 15:50:19 -04:00
bootrom-asm-offsets.awk Blackfin: unify cpu and boot modes 2008-03-30 15:50:19 -04:00
bootrom-asm-offsets.c.in Blackfin: unify cpu and boot modes 2008-03-30 15:50:19 -04:00
cache.S Blackfin: rewrite cache handling functions 2009-02-02 12:24:44 -05:00
cpu.c Blackfin: fix booting with older bootroms (no EVT1) 2009-05-06 08:47:21 -04:00
cpu.h Blackfin: unify cpu and boot modes 2008-03-30 15:50:19 -04:00
initcode.c Blackfin: fix booting with older bootroms (no EVT1) 2009-05-06 08:47:21 -04:00
interrupt.S Blackfin: unify cpu and boot modes 2008-03-30 15:50:19 -04:00
interrupts.c Blackfin: fix timer_init()/timer_reset() 2009-05-19 04:57:33 -04:00
jtag-console.c Blackfin: fix jtag console tstc 2009-03-23 15:14:52 -04:00
Makefile Blackfin: enable --gc-sections 2009-02-02 12:24:40 -05:00
reset.c Blackfin: mark bfin_reset static 2009-03-23 15:14:52 -04:00
serial.c Blackfin: audit UART for all known anomalies 2009-04-06 17:37:49 -04:00
serial.h Blackfin: avoid get_sclk() with early serial debug 2009-05-06 08:47:27 -04:00
start.S Blackfin: fix crash when booting from external memory 2009-04-02 06:41:56 -04:00
system_map.S Blackfin: unify cpu and boot modes 2008-03-30 15:50:19 -04:00
traps.c Blackfin: simplify symbol_lookup() a bit 2009-03-23 15:14:54 -04:00
watchdog.c Blackfin: unify cpu and boot modes 2008-03-30 15:50:19 -04:00