From: Wolfgang Denk Date: Sat, 04 Apr 2009 23:14:09 +0200 Subject: [U-Boot] core ticks/timer code In-Reply-To: <20090331213202.GB19920@ld0162-tx32.am.freescale.net> References: <200903272130.26825.vapier@gentoo.org> <20090331081706.GA28787@game.jcrosoft.org> <200903310513.09082.vapier@gentoo.org> <20090331102823.A2F9883797DC@gemini.denx.de> <20090331113956.GD28787@game.jcrosoft.org> <20090331154952.4DA8883797DC@gemini.denx.de> <20090331213202.GB19920@ld0162-tx32.am.freescale.net> Message-ID: <20090404211409.6F1E183797DC@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 Dear Scott Wood, In message <20090331213202.GB19920@ld0162-tx32.am.freescale.net> you wrote: > > Is there any particular reason not to change the powerpc get_timer > implementation to use the timebase (scaled down to ms)? I think so. There are some boards where we actually measure the system clock frequency against a known reference clock. IIRC this requires the TB to be independent, or something like that. [It's a long time since that code was written.] 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 "There is nothing new under the sun, but there are lots of old things we don't know yet." - Ambrose Bierce