Dear Stefano,

In message <1279714212.2643.32.ca...@localhost> Li Haibo wrote:
> get_timer_masked() should return current timestamp,
> not current ticks from hardware register.
> 
> Tested on one custom board with NAND flash.
> Without this patch, NAND write always TIMEOUT
> because get_timer(0) return a big value.
> 
> This patch applies for u-boot-2010.06
> 
> Signed-off-by: Li Haibo <h...@sinocastel.com>
> ---
>  arch/arm/cpu/arm_cortexa8/mx51/timer.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Can you please have a look at this, and eventually send a pull req?
Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
At the source of every error which is blamed on the computer you will
find at least two human errors, including the error of blaming it  on
the computer.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to