From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sat, 22 Oct 2011 00:49:45 +0200 Subject: [U-Boot] [PATCH] cmd_bdinfo: replace print_str() with print_mhz() In-Reply-To: <1317852487-12499-1-git-send-email-timur@freescale.com> References: <1317852487-12499-1-git-send-email-timur@freescale.com> Message-ID: <20111021224945.CB9CB11F9E79@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 Timur Tabi, In message <1317852487-12499-1-git-send-email-timur@freescale.com> you wrote: > The print_str() helper function for cmd_bdinfo can print any string, but it > is only used to print MHz values. Replace it with print_mhz() that takes > a number and converts it to a string internally. > > Signed-off-by: Timur Tabi > --- > > This patch applies on top of "powerpc/85xx: don't display address map size > (32-bit vs. 36-bit) during boot". > > I've only tested this on PowerPC. > > common/cmd_bdinfo.c | 72 ++++++++++++++++++++++++-------------------------- > 1 files changed, 35 insertions(+), 37 deletions(-) Applied, thanks. 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 8) Use common sense in routing cable. Avoid wrapping coax around sources of strong electric or magnetic fields. Do not wrap the cable around flourescent light ballasts or cyclotrons, for example. - Ethernet Headstart Product, Information and Installation Guide, Bell Technologies, pg. 11