[U-Boot] [PATCH 1/2] arm: a320 timer: move static data to global_data struct
Reinhard Meyer
u-boot at emk-elektronik.de
Mon Nov 1 09:37:27 CET 2010
Dear ratbert.chuang,
> From: Po-Yu Chuang <ratbert at faraday-tech.com>
>
> timer.c used static data and are called before relocation.
> Move all static variables into global_data structure. Also cleanup
> timer.c from unused stubs and make it truly use 64 bit tick values.
>
> Based on Reinhard Meyer <u-boot at emk-elektronik.de>'s patch
> 5dca710a3d7703e41da0e9894f2d71f9e25bea6b
>
> Signed-off-by: Po-Yu Chuang <ratbert at faraday-tech.com>
Can you hold on with this for a few days?
Recent discussions about the timer issue have revealed that there are
potential improvements and mainly udelay() needs a minor fix to
prevent a potential failure after a few billion years.
I have improvements in mind and will implement them in a few days, and
would appreciate if not so perfect code would not be copied and spread
before that ;)
Best Regards,
Reinhard
More information about the U-Boot
mailing list