From: Wolfgang Denk Date: Sat, 10 May 2008 00:13:28 +0200 Subject: [U-Boot-Users] i.MX31: question about CFG_HZ and CKIL In-Reply-To: Your message of "Wed, 07 May 2008 10:59:31 +0200." <48216F73.4010809@tqs.de> Message-ID: <20080509221328.CAEB4247F5@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 <48216F73.4010809@tqs.de> you wrote: > > If CKIL is the above mentioned 32 kHz clock, the resulting deviation in > the timers is "only" about 2.4% as long as CFG_HZ in mx31ads.h is 32000 > Hz. Although it works with the current definition, I'd like to know your > opinions, whether it is necessary to adjust this value. Note that CFG_HZ is not really configurable, even if the name suggests so. In reality, CFG_HZ is a constant with the value 1000. There are some broken boards which don't handle this correctly, but at least that's what you should set. 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 The goal of science is to build better mousetraps. The goal of nature is to build better mice.