From: Wolfgang Denk Date: Sat, 10 May 2008 00:21:36 +0200 Subject: [U-Boot-Users] [PATCH] mx31ads: fix 32kHz clock handling In-Reply-To: Your message of "Thu, 08 May 2008 10:09:27 +0200." Message-ID: <20080509222136.9F6A4247F5@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 you wrote: > According to schematics and to RedBoot sources, the MX31ADS uses a 32768Hz > oscillator as a SKIL source. Fix previously wrongly assumed 32000Hz value. > Also fix a typo when verifying a jumper configuration. While at it, make > two needlessly global functions static. > > Signed-off-by: Guennadi Liakhovetski Applied for now, but... > -#define CFG_HZ 32000 > +#define CFG_HZ CONFIG_MX31_CLK32 /* use 32kHz clock as source */ ...note that this is broken. CFG_HZ shall always be 1000. Consider it a constant, please. 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 [Braddock:] Mr. Churchill, you are drunk. [Churchill:] And you madam, are ugly. But I shall be sober tomorrow.