On 09/23/2016 02:57 PM, Tom Rini wrote:
> On Tue, Sep 20, 2016 at 10:39:49AM -0500, Andrew F. Davis wrote:
> 
>> When waiting for input in CYGACC_COMM_IF_GETC_TIMEOUT we delay 2
>> seconds by incrementing and checking a counter variable every 20
>> uSeconds. The overhead in the loop calling tstc() thousands of times
>> causes the timeout to be closer to 20 seconds. Delay longer per iteration
>> to reduce overhead and bring the timeout back closer to the correct time.
>>
>> Signed-off-by: Andrew F. Davis <a...@ti.com>
> 
> Reviewed-by: Tom Rini <tr...@konsulko.com>
> 

I was just informed that this may be breaking UART boot on a couple of
our platforms, so this shouldn't be taken until I can get this figured out.

Thanks,
Andrew
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to