]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
i.mx change get_timer(base) to return time since base
authorAndrew Dyer <adyer@righthandtech.com>
Fri, 12 Sep 2008 00:20:46 +0000 (02:20 +0200)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Fri, 12 Sep 2008 00:20:46 +0000 (02:20 +0200)
commit274737e5eb25b2bcd3af3a96da923effd543284f
tree248894dab07e293bf2f834b0b03e9d426053b0c0
parent48fed40575b3e8eae960eb0141509ddd9a73012a
i.mx change get_timer(base) to return time since base

This patch changes get_timer() for i.MX to return the time since
'base' instead of the time since the counter was at zero.

Symptom seen is flash timeout errors when erasing or programming a
sector using the common cfi flash code.

Signed-off-by: Andrew Dyer <adyer@righthandtech.com>
cpu/arm920t/imx/interrupts.c