Re: [U-Boot] [PATCH V4] Nomadik: fix reset_timer()

2010-03-27 Thread Tom Rix
Alessandro Rubini wrote: > From: Alessandro Rubini > > 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 r

[U-Boot] [PATCH V4] Nomadik: fix reset_timer()

2009-11-25 Thread Alessandro Rubini
From: Alessandro Rubini 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 edg