]> git.sur5r.net Git - u-boot/commit
74xx_7xx: Fix rounding problem in CPU frequency calculation
authorStefan Roese <sr@denx.de>
Thu, 14 May 2009 05:25:13 +0000 (07:25 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 15 May 2009 20:22:01 +0000 (22:22 +0200)
commitc21f62d8483fbab44cd98d93ff2e9355a330d225
treef593651f955ade5d57f217f5ef4ea8c6187a0d70
parent3ad8a0517b724782ab36f2b554a94de4c00c1adb
74xx_7xx: Fix rounding problem in CPU frequency calculation

This patch fixes a problem in the CPU frequency calculation. Without it
a 798MHz CPU is displayed as 368.503 MHz. And with it it's 798 MHz.

Signed-off-by: Stefan Roese <sr@denx.de>
cpu/74xx_7xx/speed.c