From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott McNutt Date: Mon, 23 May 2011 08:19:36 -0400 Subject: [U-Boot] [PATCH] [Timer]Remove calls to [get, reset]_timer outside arch/ In-Reply-To: <1306151649-25640-1-git-send-email-graeme.russ@gmail.com> References: <1306151649-25640-1-git-send-email-graeme.russ@gmail.com> Message-ID: <4DDA50D8.6060601@psyent.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Graeme, Graeme Russ wrote: > There is no need to use get_timer() and reset_timer() and there are build I must have missed something WRT reset_timer() -- my apologies if I'm covering old ground. When the timestamp is incremented using an interrupt that occurs with a period greater than 1 ms, we can get early timeouts. reset_timer() solved the problem. What's the recommended approach for dealing with this without reset_timer() ? Regards, --Scott