strmhz: Make hz unsigned to support greater than 2146 MHz clock
authorEd Swarthout <Ed.Swarthout@freescale.com>
Sat, 5 Mar 2011 16:28:17 +0000 (10:28 -0600)
committerWolfgang Denk <wd@denx.de>
Tue, 22 Mar 2011 22:34:36 +0000 (23:34 +0100)
commit55f7934d2b07a62027cb05484ea3f10666a855d1
tree73d16bdb28ae1f6aa53f9a9c3a6ca2de867cfc33
parent6dc1eceb9c5f42216f1ba0e0ef538015b0aa10bc
strmhz: Make hz unsigned to support greater than 2146 MHz clock

For example, an input of 0x80000000 should print:

2147.484 instead of -2147.-483.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
include/common.h
lib/strmhz.c