summaryrefslogtreecommitdiff
path: root/board/armltd
diff options
context:
space:
mode:
authorAlessandro Rubini <rubini@unipv.it>2009-11-25 23:41:51 +0100
committertrix <trix@windriver.com>2010-04-03 15:24:27 -0500
commit4b894a97d307c3207af40031d9e820e2960de57f (patch)
tree45deb796599283759f8ec3b5d0a426f55fb6a037 /board/armltd
parentf936aa0528fe4f5d86168575528e0c52b485c642 (diff)
downloadu-boot-imx-4b894a97d307c3207af40031d9e820e2960de57f.zip
u-boot-imx-4b894a97d307c3207af40031d9e820e2960de57f.tar.gz
u-boot-imx-4b894a97d307c3207af40031d9e820e2960de57f.tar.bz2
Nomadik: fix reset_timer()
Previous code was failing when reading back the timer less than 400us after resetting it. This lead nand operations to incorrectly timeout any now and then. Moreover, writing the load register isn't immediately reflected in the value register. We must wait for a clock edge, so read_timer now waits for the value to change at least once, otherwise nand operation would timeout anyways (though less frequently). Signed-off-by: Alessandro Rubini <rubini@unipv.it> Acked-by: Andrea Gallo <andrea.gallo@stericsson.com>
Diffstat (limited to 'board/armltd')
0 files changed, 0 insertions, 0 deletions