Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Fix strmhz(): avoid printing negative fractions | Wolfgang Denk | 2008-10-22 | -1/+1 |
| | | | | Signed-off-by: Wolfgang Denk <wd@denx.de> | |||
* | strmhz(): Round numbers when printing clock frequencies | Wolfgang Denk | 2008-10-21 | -2/+4 |
| | | | | | | | | | 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> | |||
* | Consolidate strmhz() implementation | Haavard Skinnemoen | 2008-08-21 | -0/+36 |
ARM, i386, m68k and ppc all have identical implementations of strmhz(). Other architectures don't provide this function at all. This patch moves strmhz() into lib_generic, reducing code duplication and providing a more unified API across architectures. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> |