> -----Original Message-----
> From: Heiko Schocher [mailto:[email protected]]
> Sent: Friday, December 10, 2010 3:03 PM
> To: [email protected]
> Cc: Heiko Schocher; Albert ARIBAUD; Prafulla Wadaskar; Stefano Babic;
> Reinhard Meyer
> Subject: [PATCH] arm926ejs: timer: Replace bss variable by gdr
> 
> 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 Dirk Behme posted
> for the armv7/omap-common/timer.c and added suggestions
> from Reinhard Meyer.
> 
> Tested on the arm926ejs mx27 based magnesium board
> Tested on the arm926ejs kirkwood based suen3 board
> 
> Signed-off-by: Heiko Schocher <[email protected]>
> cc: Albert ARIBAUD <[email protected]>
> cc: Prafulla Wadaskar <[email protected]>
> cc: Stefano Babic <[email protected]>
> cc: Reinhard Meyer <[email protected]>
> 
> Signed-off-by: Heiko Schocher <[email protected]>
> ---
>  arch/arm/cpu/arm926ejs/davinci/timer.c   |    6 ++++--
>  arch/arm/cpu/arm926ejs/kirkwood/timer.c  |    6 ++++--
>  arch/arm/cpu/arm926ejs/mb86r0x/timer.c   |    6 ++++--
>  arch/arm/cpu/arm926ejs/mx25/timer.c      |    6 ++++--
>  arch/arm/cpu/arm926ejs/mx27/timer.c      |    6 ++++--
>  arch/arm/cpu/arm926ejs/omap/timer.c      |    6 ++++--
>  arch/arm/cpu/arm926ejs/orion5x/timer.c   |    6 ++++--
>  arch/arm/cpu/arm926ejs/spear/timer.c     |    6 ++++--
>  arch/arm/cpu/arm926ejs/versatile/timer.c |    6 ++++--
>  9 files changed, 36 insertions(+), 18 deletions(-)
> 

Acked-by: Prafulla Wadaskar <[email protected]>

Regards..
Prafulla . .
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to