[U-Boot] [PATCH] cmd_bdinfo: replace print_str() with print_mhz()
Wolfgang Denk
wd at denx.de
Sat Oct 22 00:49:45 CEST 2011
Dear Timur Tabi,
In message <1317852487-12499-1-git-send-email-timur at 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 <timur at freescale.com>
> ---
>
> 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
More information about the U-Boot
mailing list