Skip to content
Snippets Groups Projects
Commit c44bf4e8 authored by Heiko Schocher's avatar Heiko Schocher Committed by Albert Aribaud
Browse files

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: default avatarHeiko Schocher <hs@denx.de>
cc: Albert ARIBAUD <albert.aribaud@free.fr>
Acked-by: default avatarAlbert ARIBAUD <albert.aribaud@free.fr>
parent 386ad726
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment