[U-Boot] [PATCH] armv7, timer: move static data to global_data struct

Minkyu Kang promsoft at gmail.com
Tue Nov 30 09:11:10 CET 2010


Dear Heiko,

On 30 November 2010 16:54, Heiko Schocher <hs at denx.de> wrote:
> Hello Andreas,
>
> Andreas Bießmann wrote:
>> Am 30.11.2010 um 08:02 schrieb Heiko Schocher:
>>
>>> diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h
>>> index ada3fbb..16dc27c 100644
>>> --- a/arch/arm/include/asm/global_data.h
>>> +++ b/arch/arm/include/asm/global_data.h
>>> @@ -61,6 +61,16 @@ typedef   struct  global_data {
>>>      unsigned long   tbu;
>>>      unsigned long long      timer_reset_value;
>>> #endif
>>> +#if defined(CONFIG_OMAP) || defined(CONFIG_MX51)
>>> +    unsigned long timestamp;
>>> +    unsigned long lastinc;
>>> +#endif
>>> +#if defined(CONFIG_S5P)
>>> +    unsigned long count_value;
>>> +    /* Internal tick units */
>>> +    unsigned long long timestamp;   /* Monotonic incrementing timer */
>>> +    unsigned long lastdec;          /* Last decremneter snapshot */
>>> +#endif
>>>      unsigned long   relocaddr;      /* Start address of U-Boot in RAM */
>>>      phys_size_t     ram_size;       /* RAM size */
>>>      unsigned long   mon_len;        /* monitor len */
>>

Thanks for your work.
But, I already fixed it by other way.

http://patchwork.ozlabs.org/patch/72226/

Please remove s5p in your patch.
If need, I'll make the patch.

Thanks
Minkyu Kang
-- 
from. prom.
www.promsoft.net


More information about the U-Boot mailing list