strmhz(): Round numbers when printing clock frequencies
authorWolfgang Denk <wd@denx.de>
Sun, 19 Oct 2008 00:35:48 +0000 (02:35 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 21 Oct 2008 09:25:35 +0000 (11:25 +0200)
commitd50c7d4be150b2252c0d2e16cfcf69643bdd6dc9
treef5ee3bd016b0e306564262925b471b8ba5825544
parent681c02d05b29c6d46093525052c74b9c4ddc8b08
strmhz(): Round numbers when printing clock frequencies

Round clock frequencies for printing.

Many boards printed off clock frequencies like 399 MHz instead of the
exact 400 MHz because numberes were not rounded. This is fixed now.

Signed-off-by: Wolfgang Denk <wd@denx.de>
include/common.h
lib_generic/strmhz.c