[U-Boot] [PATCH] arm1136: timer: Replace bss variable by gd
Albert ARIBAUD
albert.aribaud at free.fr
Fri Dec 10 09:09:21 CET 2010
Le 10/12/2010 09:01, Heiko Schocher a écrit :
> Reuse the gd->tbl value for timestamp and add gd->lastinc for lastinc bss
> values in the arm1136 timer driver for mx31 and omap24xx
>
> 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
>
> Tested on the mx31 based qong board
>
> Signed-off-by: Heiko Schocher<hs at denx.de>
> cc: Albert ARIBAUD<albert.aribaud at free.fr>
FWIW,
Acked-by: Albert ARIBAUD <albert.aribaud at free.fr>
Amicalement,
--
Albert.
More information about the U-Boot
mailing list