u-boot/cpu/arm926ejs/nomadik
Alessandro Rubini 4b894a97d3 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>
2010-04-03 15:24:27 -05:00
..
gpio.c arm nomadik: add gpio support 2009-07-29 09:57:46 +02:00
Makefile arm nomadik: add gpio support 2009-07-29 09:57:46 +02:00
reset.S arm nomadik: cleanup reset 2009-07-06 21:53:03 +02:00
timer.c Nomadik: fix reset_timer() 2010-04-03 15:24:27 -05:00