Re: [U-Boot] [PATCH] ARM: S3C64XX: fix timer broken by relocation

2010-11-22 Thread Darius Augulis
Hi Wolfgang, On 11/13/2010 08:13 PM, Wolfgang Denk wrote: > Dear Darius Augulis, > > In message<4cdec32b.7050...@gmail.com> you wrote: >> >>> FWIW, there already is a solution based on statics and post-relocation >>> initialization for orion5x. The principle there is that the timer is not >>> use

Re: [U-Boot] [PATCH] ARM: S3C64XX: fix timer broken by relocation

2010-11-13 Thread Albert ARIBAUD
Le 13/11/2010 19:13, Wolfgang Denk a écrit : > Dear Darius Augulis, > > In message<4cdec32b.7050...@gmail.com> you wrote: >> >>> FWIW, there already is a solution based on statics and post-relocation >>> initialization for orion5x. The principle there is that the timer is not >>> used before calli

Re: [U-Boot] [PATCH] ARM: S3C64XX: fix timer broken by relocation

2010-11-13 Thread Wolfgang Denk
Dear Darius Augulis, In message <4cdec32b.7050...@gmail.com> you wrote: > > > FWIW, there already is a solution based on statics and post-relocation > > initialization for orion5x. The principle there is that the timer is not > > used before calling board_init_r, so we don't need initializing > >

Re: [U-Boot] [PATCH] ARM: S3C64XX: fix timer broken by relocation

2010-11-13 Thread Darius Augulis
Dear Albert, On 11/12/2010 09:25 PM, Albert ARIBAUD wrote: > Le 12/11/2010 19:18, Darius Augulis a écrit : >> Dear Minkyu Kang, >> >> On 11/12/2010 05:10 AM, Minkyu Kang wrote: >>> Dear Darius Augulis, >>> >>> On 2 November 2010 05:49, Darius Auguliswrote: S3C64XX timer uses static variab

Re: [U-Boot] [PATCH] ARM: S3C64XX: fix timer broken by relocation

2010-11-12 Thread Albert ARIBAUD
Le 12/11/2010 19:18, Darius Augulis a écrit : > Dear Minkyu Kang, > > On 11/12/2010 05:10 AM, Minkyu Kang wrote: >> Dear Darius Augulis, >> >> On 2 November 2010 05:49, Darius Augulis wrote: >>> S3C64XX timer uses static variables which >>> are initialized before relocation and used after it. >>>

Re: [U-Boot] [PATCH] ARM: S3C64XX: fix timer broken by relocation

2010-11-12 Thread Darius Augulis
Dear Minkyu Kang, On 11/12/2010 05:10 AM, Minkyu Kang wrote: > Dear Darius Augulis, > > On 2 November 2010 05:49, Darius Augulis wrote: >> S3C64XX timer uses static variables which >> are initialized before relocation and used after it. >> Move them to global data structure. >> >> Signed-off-by:

Re: [U-Boot] [PATCH] ARM: S3C64XX: fix timer broken by relocation

2010-11-11 Thread Minkyu Kang
Dear Darius Augulis, On 2 November 2010 05:49, Darius Augulis wrote: > S3C64XX timer uses static variables which > are initialized before relocation and used after it. > Move them to global data structure. > > Signed-off-by: Darius Augulis > --- >  arch/arm/cpu/arm1176/s3c64xx/timer.c |   36 >

[U-Boot] [PATCH] ARM: S3C64XX: fix timer broken by relocation

2010-11-01 Thread Darius Augulis
S3C64XX timer uses static variables which are initialized before relocation and used after it. Move them to global data structure. Signed-off-by: Darius Augulis --- arch/arm/cpu/arm1176/s3c64xx/timer.c | 36 ++ arch/arm/include/asm/global_data.h |6 ++