Home
last modified time | relevance | path

Searched hist:c44bf4e8ac2610d650bad441a1dc6a617ae98a4f (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/arch/arm/cpu/arm1136/mx31/
H A Dtimer.cc44bf4e8ac2610d650bad441a1dc6a617ae98a4f Thu Dec 09 22:01:15 UTC 2010 Heiko Schocher <hs@denx.de> 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>