From: Reinhard Meyer Date: Tue, 12 Oct 2010 23:19:43 +0200 Subject: [U-Boot] [PATCH] udelay() fails at 32bit rollover In-Reply-To: <1284468605.32441.6.camel@aspire.localdomain> References: <1284468605.32441.6.camel@aspire.localdomain> Message-ID: <4CB4D0EF.7070401@emk-elektronik.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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@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