u-boot/arch/arm/cpu/arm1136
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
..
mx31 arm1136: timer: Replace bss variable by gd 2011-02-02 00:54:44 +01:00
mx35 Add support for MX35 processor 2011-02-02 00:54:42 +01:00
omap24xx arm1136: timer: Replace bss variable by gd 2011-02-02 00:54:44 +01:00
config.mk arm: Move cpu/$CPU to arch/arm/cpu/$CPU 2010-04-13 09:13:24 +02:00
cpu.c ARM1136: Fix cache_flush() error and correct cpu_init_crit() comments 2010-06-01 06:44:09 -05:00
Makefile Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
start.S ARM: */start.S: code cleanup 2011-02-02 00:54:44 +01:00
u-boot.lds ARM: fix linker file for newer ld support 2010-11-17 20:44:32 +01:00