From: Wolfgang Denk Date: Tue, 20 May 2008 10:34:28 +0200 Subject: [U-Boot-Users] [PATCH] mips: tolerate the MIPS 'CFG_HZ' values in the MHZ range for NAND delays In-Reply-To: Your message of "Tue, 20 May 2008 10:27:43 +0200." <20080520102743.6557124b@hskinnemo-gx745.norway.atmel.com> Message-ID: <20080520083428.3150524312@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 <20080520102743.6557124b@hskinnemo-gx745.norway.atmel.com> you wrote: > > Is it acceptable to define it as 1024 on some boards? It's more accurate > if you're running the timer from a 32.768 kHz oscillator (e.g. an RTC), > and it makes timing calculations cheaper too... We use a millisecond tick, so CFG_HZ == 1000. Accuracy is not really an issue in almost all cases. 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 witty saying proves nothing, but saying something pointless gets people's attention.