summaryrefslogtreecommitdiff
path: root/board/inka4x0/inka4x0.c
diff options
context:
space:
mode:
authorGraf Yang <graf.yang@analog.com>2009-05-19 04:40:08 -0400
committerMike Frysinger <vapier@gentoo.org>2009-05-19 04:57:33 -0400
commitec01481ddc4cf302c7f6d760b776ca94819ec21e (patch)
tree0c57e843e25af067d1cdfe16d33793e5fcc8a5ed /board/inka4x0/inka4x0.c
parentc06326c73bf90e48a8e1cf8893ad31c575423f50 (diff)
downloadu-boot-imx-ec01481ddc4cf302c7f6d760b776ca94819ec21e.zip
u-boot-imx-ec01481ddc4cf302c7f6d760b776ca94819ec21e.tar.gz
u-boot-imx-ec01481ddc4cf302c7f6d760b776ca94819ec21e.tar.bz2
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>
Diffstat (limited to 'board/inka4x0/inka4x0.c')
0 files changed, 0 insertions, 0 deletions