u-boot/arch/arm/cpu
Heiko Schocher c44bf4e8ac arm1136: timer: Replace bss variable by gd
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@denx.de>
cc: Albert ARIBAUD <albert.aribaud@free.fr>
Acked-by: Albert ARIBAUD <albert.aribaud@free.fr>
2011-02-02 00:54:44 +01:00
..
arm720t ARM: */start.S: code cleanup 2011-02-02 00:54:44 +01:00
arm920t ARM: */start.S: code cleanup 2011-02-02 00:54:44 +01:00
arm925t ARM: */start.S: code cleanup 2011-02-02 00:54:44 +01:00
arm926ejs ARM: */start.S: code cleanup 2011-02-02 00:54:44 +01:00
arm946es ARM: */start.S: code cleanup 2011-02-02 00:54:44 +01:00
arm1136 arm1136: timer: Replace bss variable by gd 2011-02-02 00:54:44 +01:00
arm1176 ARM: */start.S: code cleanup 2011-02-02 00:54:44 +01:00
arm_intcm ARM: */start.S: code cleanup 2011-02-02 00:54:44 +01:00
armv7 ARM: */start.S: code cleanup 2011-02-02 00:54:44 +01:00
ixp ARM: */start.S: code cleanup 2011-02-02 00:54:44 +01:00
lh7a40x ARM: */start.S: code cleanup 2011-02-02 00:54:44 +01:00
pxa ARM: */start.S: code cleanup 2011-02-02 00:54:44 +01:00
s3c44b0 ARM: */start.S: code cleanup 2011-02-02 00:54:44 +01:00
sa1100 ARM: */start.S: code cleanup 2011-02-02 00:54:44 +01:00