From: Wolfgang Denk Date: Thu, 10 Jul 2008 11:46:45 +0200 Subject: [U-Boot-Users] [PATCH 04/10 v2] [ARM] TQMA31: add new board with i.MX31 processor In-Reply-To: Your message of "Thu, 10 Jul 2008 11:30:01 +0200." <20080710093001.GR4595@pengutronix.de> Message-ID: <20080710094645.C8049242FF@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <20080710093001.GR4595@pengutronix.de> you wrote: > > How about using the Linux clocksource framework for U-Boot? I did this I have to admit that I don't know how big that code is? > Currently U-Boot has many timing functions like get_timer, > get_timer_masked, reset_timer, reset_timer_masked, udelay and I suppose > most people do not understand the meaning of those functions, as the > differing implementations show. I have to admit that I don't have a clue why get_timer_masked or reset_timer_masked would be needed. Originally (see the PPC implementation), there was only get_timer, reset_timer, and udelay (and IIRC reset_timer was not even necessary). > Not that I volunteer to do this job though :( What a pity :-) Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Ever try. Ever fail. No matter. Try again. Fail again. Fail better. -- S. Beckett