cmd_bdinfo: replace print_str() with print_mhz()
authorTimur Tabi <timur@freescale.com>
Wed, 5 Oct 2011 22:08:07 +0000 (17:08 -0500)
committerWolfgang Denk <wd@denx.de>
Fri, 21 Oct 2011 22:49:18 +0000 (00:49 +0200)
commit0c277ef9f92b41b41a78682330b6c35673a1819b
tree1f3209a6611aaf657d7d140724ea6b2b26dc4cfd
parent486cad03be46114d726df56721ee27cba52c38e3
cmd_bdinfo: replace print_str() with print_mhz()

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@freescale.com>
common/cmd_bdinfo.c