summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm925t/timer.c
diff options
context:
space:
mode:
authorDirk Behme <dirk.behme@googlemail.com>2010-12-11 10:50:48 -0500
committerSandeep Paulraj <s-paulraj@ti.com>2010-12-11 10:50:48 -0500
commitb03c8403cd770332778eec9142f136a9c870aaeb (patch)
tree38b1b0167cd7bb8e9c67a62380ee70e339d1a1bf /arch/arm/cpu/arm925t/timer.c
parentaac0b4b6c153c413b4541a61d9c4296eef689e07 (diff)
downloadu-boot-imx-b03c8403cd770332778eec9142f136a9c870aaeb.zip
u-boot-imx-b03c8403cd770332778eec9142f136a9c870aaeb.tar.gz
u-boot-imx-b03c8403cd770332778eec9142f136a9c870aaeb.tar.bz2
OMAP: Timer: Replace bss variable by gd
Reuse the gd->tbl value for timestamp and add gd->lastinc for lastinc bss values in the OMAP timer driver. The usage of bss values in drivers before initialisation of bss is forbidden. In that special case some data in .rel.dyn gets corrupted. Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Tested-by: Steve Sakoman <steve.sakoman@linaro.org> Tested-by: John Rigby <john.rigby@linaro.org> Tested-by: Nishanth Menon <nm@ti.com> Acked-by: Nishanth Menon <nm@ti.com> Tested-by: Heiko Schocher <hs@denx.de> Tested-by: Sandeep Paulraj <s-paulraj@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'arch/arm/cpu/arm925t/timer.c')
0 files changed, 0 insertions, 0 deletions