Re: [U-Boot] [PATCH] arm926ejs: timer: Replace bss variable by gdr

2011-01-21 Thread Heiko Schocher
Hello Albert, Albert ARIBAUD wrote: > Le 20/01/2011 21:43, Albert ARIBAUD a écrit : >> Le 10/12/2010 10:33, Heiko Schocher a écrit : >>> Reuse the gd->tbl value for timestamp and add gd->lastinc for lastinc bss >>> values in the arm926ejs timers implementation. >>> >>> The usage of bss values in d

Re: [U-Boot] [PATCH] arm926ejs: timer: Replace bss variable by gdr

2011-01-20 Thread Albert ARIBAUD
Le 20/01/2011 21:43, Albert ARIBAUD a écrit : > Le 10/12/2010 10:33, Heiko Schocher a écrit : >> Reuse the gd->tbl value for timestamp and add gd->lastinc for lastinc bss >> values in the arm926ejs timers implementation. >> >> The usage of bss values in drivers before initialisation of bss is forbi

Re: [U-Boot] [PATCH] arm926ejs: timer: Replace bss variable by gdr

2011-01-20 Thread Albert ARIBAUD
Le 10/12/2010 10:33, Heiko Schocher a écrit : > Reuse the gd->tbl value for timestamp and add gd->lastinc for lastinc bss > values in the arm926ejs timers implementation. > > The usage of bss values in drivers before initialisation of bss is forbidden. > In that special case some data in .rel.dyn g

Re: [U-Boot] [PATCH] arm926ejs: timer: Replace bss variable by gdr

2010-12-12 Thread Stefano Babic
On 12/10/2010 10:33 AM, Heiko Schocher wrote: > Reuse the gd->tbl value for timestamp and add gd->lastinc for lastinc bss > values in the arm926ejs timers implementation. > > The usage of bss values in drivers before initialisation of bss is forbidden. > In that special case some data in .rel.dyn

Re: [U-Boot] [PATCH] arm926ejs: timer: Replace bss variable by gdr

2010-12-11 Thread Prafulla Wadaskar
> -Original Message- > From: Heiko Schocher [mailto:h...@denx.de] > Sent: Friday, December 10, 2010 3:03 PM > To: u-boot@lists.denx.de > Cc: Heiko Schocher; Albert ARIBAUD; Prafulla Wadaskar; Stefano Babic; > Reinhard Meyer > Subject: [PATCH] arm926ejs: timer: Replace bss variable by gdr

[U-Boot] [PATCH] arm926ejs: timer: Replace bss variable by gdr

2010-12-10 Thread Heiko Schocher
Reuse the gd->tbl value for timestamp and add gd->lastinc for lastinc bss values in the arm926ejs timers implementation. The usage of bss values in drivers before initialisation of bss is forbidden. In that special case some data in .rel.dyn gets corrupted. This patch is similiar to the patch Dir