From mboxrd@z Thu Jan 1 00:00:00 1970 From: Graeme Russ Date: Fri, 27 May 2011 17:35:25 +1000 Subject: [U-Boot] [RFC][Timer API] Revised Specification - Implementation details In-Reply-To: <20110527071355.5DA8014EF7F@gemini.denx.de> References: <4DDE5548.3020906@gmail.com> <4DDE8639.3090909@comcast.net> <20110527071355.5DA8014EF7F@gemini.denx.de> Message-ID: <4DDF543D.6020506@gmail.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 Wolfgang, On 27/05/11 17:13, Wolfgang Denk wrote: > Dear Graeme Russ, > > In message you wrote: >> >> I think we will need to define get_timer() weak - Nios will have to >> override the default implementation to cater for it's (Nios') limitations > > Please don't - isn't the purpose of this whole discussion to use > common code for this ? > Yes, but Nios is particularly bad - It has a 10ms tick counter :( I don't see reason for hamstring other platforms when a simply weak function can get around it Regards, Graeme