From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alessandro Rubini Date: Tue, 3 Nov 2009 17:03:02 +0100 Subject: [U-Boot] [PATCH (repost)] Nomadik: fix reset_timer() In-Reply-To: <20091103155924.6284D3F6EC@gemini.denx.de> References: <20091103155924.6284D3F6EC@gemini.denx.de> <20091103132712.950203F6EC@gemini.denx.de> <20091103121250.GA8577@mail.gnudd.com> <20091103152354.GA12451@mail.gnudd.com> Message-ID: <20091103160302.GA13616@mail.gnudd.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > Well, to me READ_TIMER() sounds like a function/macro to read some > value from some timer; if that timer counts doen, then successive > calls to that macro/function would return decreasing values. Counting > up or down is a property of the specific timer and should be handled > elsewhere; such policy does IMHO not belong into some accessor > function. Well, I thought this was an easy fix. Unfortunately, I can't test any new code for a few days, so a patch that changes this, while trivial, may be bugged. Unless I get an ack from you, I'll send a timer which negates elsewhere in a day or so. /alessandro