[U-Boot] [PATCH] udelay() fails at 32bit rollover

Reinhard Meyer u-boot at emk-elektronik.de
Tue Oct 12 23:19:43 CEST 2010


Dear Peter Gsellmann,

this issue is already fixed by the patch:

[PATCH] AT91 clock/timer: move static data to global_data struct
(Message-Id: <1286290475-2989-1-git-send-email-u-boot at emk-elektronik.de>)
of Oct 5, 2010. Please try that patch. I will apply it to u-boot-atmel soon
if no complaints are heard.

> -static ulong timestamp;
> -static ulong lastinc;
> +static unsigned long long timestamp;
> +static unsigned long long lastinc;

static would not work anymore with relocation

Reinhard


More information about the U-Boot mailing list