[U-Boot] [RFC PATCH] OMAP: Timer: Replace bss variable by gd

John Rigby john.rigby at linaro.org
Fri Dec 10 00:12:23 CET 2010


On Thu, Dec 9, 2010 at 9:31 AM, Dirk Behme <dirk.behme at googlemail.com> wrote:
> 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 at gmail.com>
>
Works for me on Beagle xM Rev A

Tested-by: John Rigby <john.rigby at linaro.org>


More information about the U-Boot mailing list