[U-Boot] [PATCH 1/2] arm: a320 timer: move static data to global_data struct

Po-Yu Chuang ratbert.chuang at gmail.com
Mon Nov 1 09:44:10 CET 2010


Dear Reinhard,

On Mon, Nov 1, 2010 at 4:37 PM, Reinhard Meyer <u-boot at emk-elektronik.de> wrote:
> 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 ;)

Sure.
I'll wait for your patch and resubmit then. :-)

Best Regards,
Po-Yu Chuang


More information about the U-Boot mailing list