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

2010-11-30 Thread Minkyu Kang
Dear Heiko, On 30 November 2010 16:54, Heiko Schocher 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/

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

2010-11-30 Thread Andreas Bießmann
Dear Heiko Schocher, Am 30.11.2010 08:54, schrieb Heiko Schocher: > Hello Andreas, > > Andreas Bießmann wrote: >> Am 30.11.2010 um 08:02 schrieb Heiko Schocher: >> [snip another ARM-SoC add to GD for timer] >> can't this generalized in some way? > > Good question. > >> AT91 still has some val

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

2010-11-30 Thread Wolfgang Denk
Dear =?iso-8859-1?Q?Andreas_Bie=DFmann?=, In message <0cd9bf11-6356-44a8-baba-0aa08671d...@googlemail.com> you wrote: > > > +#if defined(CONFIG_OMAP) || defined(CONFIG_MX51) > > + unsigned long timestamp; > > + unsigned long lastinc; > > +#endif > > +#if defined(CONFIG_S5P) > > + unsigned l

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

2010-11-30 Thread Thomas Weber
Am 30.11.2010 08:02, schrieb Heiko Schocher: > timer.c use static data and change this before relocation, > where bss section (in which the static data is stored) is > not valid. Instead before relocation there is the .rel.dyn > section overlayed. > > Move all static variables into global_data str

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

2010-11-29 Thread Heiko Schocher
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_d

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

2010-11-29 Thread Andreas Bießmann
Dear Heiko Schocher, 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 @@