From: Wolfgang Denk Date: Thu, 10 Jul 2008 10:49:09 +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 10:17:25 +0200." <20080710081725.GP4595@pengutronix.de> Message-ID: <20080710084909.B0DD1248FE@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 <20080710081725.GP4595@pengutronix.de> you wrote: > > >> CFG_HZ is a constant and has to be 1000. > > Why is it a board specific define then? Historical reasons only. When PPCBoot was created, I played with that parameter to get a feeling for the involved overhead, etc. This should really be removed, but as you know too many boards depend on this. > You could add a software divider in get_timer(). But I think it's better > to define CFG_HZ to whatever the timer frequency is. At least 49 boards > do it. That's what I mean: many boards need fixing. 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 A man either lives life as it happens to him, meets it head-on and licks it, or he turns his back on it and starts to wither away. -- Dr. Boyce, "The Menagerie" ("The Cage"), stardate unknown