diff options
author | Heiko Schocher <hs@denx.de> | 2010-12-09 22:01:15 +0000 |
---|---|---|
committer | Albert Aribaud <albert.aribaud@free.fr> | 2011-02-02 00:54:44 +0100 |
commit | c44bf4e8ac2610d650bad441a1dc6a617ae98a4f (patch) | |
tree | 84a1e393602c85f950a72537bafe33d42e9cdb9d /board/esd/ocrtc | |
parent | 386ad72637ad781d22c2567b730761d2a18c8768 (diff) | |
download | u-boot-imx-c44bf4e8ac2610d650bad441a1dc6a617ae98a4f.zip u-boot-imx-c44bf4e8ac2610d650bad441a1dc6a617ae98a4f.tar.gz u-boot-imx-c44bf4e8ac2610d650bad441a1dc6a617ae98a4f.tar.bz2 |
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>
Diffstat (limited to 'board/esd/ocrtc')
0 files changed, 0 insertions, 0 deletions