]> git.ipfire.org Git - people/ms/u-boot.git/commit
socfpga: timer actually counts down
authorPavel Machek <pavel@denx.de>
Sun, 13 Jul 2014 11:10:45 +0000 (13:10 +0200)
committerTom Rini <trini@ti.com>
Mon, 14 Jul 2014 15:21:35 +0000 (11:21 -0400)
commit2cc0ea72ef98eba3b6dbf65cff39f08e31e137d1
tree3a8cc063cfdbd752219593258df01281de486ec5
parent4ec3f6e5104034e113f6ea8ab356f78ff4ad00b8
socfpga: timer actually counts down

Timer on cyclone5 actually counts down. It took me a while to figure
out, as timer counting in wrong direction actually _can_ be used, it
just appears to tick at extremely high frequency in u-boot.

The bug was introduced in commit
23ab7ee0ffa9d5efd0b4ad830befba306d24a327.

Signed-off-by: Pavel Machek <pavel@denx.de>
Acked-by: Marek Vasut <marex@denx.de>
include/configs/socfpga_cyclone5.h