u-boot/arch/arm/cpu/arm926ejs
Heiko Schocher c9ac3ba129 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 <hs@denx.de>
cc: Albert ARIBAUD <albert.aribaud@free.fr>
cc: Prafulla Wadaskar <prafulla@marvell.com>
cc: Stefano Babic <sbabic@denx.de>
cc: Reinhard Meyer <u-boot@emk-elektronik.de>
2011-02-02 00:54:45 +01:00
..
armada100 arm: Add Support for Marvell ARMADA 100 Familiy SoCs 2010-12-16 23:02:36 +01:00
at91 AT91: fix EMAC gpio init in at91sam9260_devices.c 2010-12-07 16:36:40 +01:00
davinci DaVinci: Remove incorrect CONFIG option 2011-02-02 00:54:44 +01:00
kirkwood arm926ejs: timer: Replace bss variable by gdr 2011-02-02 00:54:45 +01:00
mb86r0x arm926ejs: timer: Replace bss variable by gdr 2011-02-02 00:54:45 +01:00
mx25 arm926ejs: timer: Replace bss variable by gdr 2011-02-02 00:54:45 +01:00
mx27 arm926ejs: timer: Replace bss variable by gdr 2011-02-02 00:54:45 +01:00
nomadik Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
omap arm926ejs: timer: Replace bss variable by gdr 2011-02-02 00:54:45 +01:00
orion5x arm926ejs: timer: Replace bss variable by gdr 2011-02-02 00:54:45 +01:00
spear arm926ejs: timer: Replace bss variable by gdr 2011-02-02 00:54:45 +01:00
versatile arm926ejs: timer: Replace bss variable by gdr 2011-02-02 00:54:45 +01:00
config.mk arm: Move cpu/$CPU to arch/arm/cpu/$CPU 2010-04-13 09:13:24 +02:00
cpu.c arm: Move cpu/$CPU to arch/arm/cpu/$CPU 2010-04-13 09:13:24 +02: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