From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Scholz Date: Mon, 22 Nov 2004 19:05:59 +0100 Subject: [U-Boot-Users] Problems with udelay() on AT91RM9200 ! In-Reply-To: <20041122165543.AE556C1430@atlas.denx.de> References: <20041122165543.AE556C1430@atlas.denx.de> Message-ID: <41A22A87.3050609@imc-berlin.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: > In message <41A1F410.6040107@imc-berlin.de> you wrote: > >>I just noticed that the implementation of udelay() - i.e udelay_masked() - >>resets the timer. Why is that? > > Because of a bug? Why didn't I think of this! ;-) But seriously what's the point in letting the timer run with 40 or 80 MHz? In my case udelay won't work for delays > 107ms anyway.... :-( -- Steven