From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 06 Oct 2011 20:13:36 +0200 Subject: [U-Boot] RFC [PATCH 2/5] arm/kirkwood: print speeds with cpu info. In-Reply-To: <1311715171-13128-2-git-send-email-u-boot@lakedaemon.net> References: <05ec95501d6c02ffeb1bc38d09fdca99142956a3.1307979826.git.u-boot@lakedaemon.net> <1311715171-13128-2-git-send-email-u-boot@lakedaemon.net> Message-ID: <20111006181336.6EA09140874A@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 Jason Cooper, In message <1311715171-13128-2-git-send-email-u-boot@lakedaemon.net> you wrote: > ... > + printf("CPU running @ %dMHz L2 running @ %dMHz\n", > + cpu_clk, l2_clk); > + printf("SysClock = %dMHz, TClock = %dMHz\n", > + sys_clk, t_clk / 1000000); Please use strmhz() to format the frequencies. 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 Just because your doctor has a name for your condition doesn't mean he knows what it is.