This patch adds reset_timer() before the flash status check
waiting loop.
Since the timer is basically running asynchronous to the cfi
code, it is possible to call get_timer(0), then only a few
_SYSCLK_ cycles later an interrupt is generated. This causes
timeout even though much less time has elap
On Thursday 01 April 2010 05:15:05 Thomas Chou wrote:
> This patch adds reset_timer() before the flash status check
> waiting loop.
>
> Since the timer is basically running asynchronous to the cfi
> code, it is possible to call get_timer(0), then only a few
> _SYSCLK_ cycles later an interrupt is
2 matches
Mail list logo