On Fri, May 21, 2010 at 4:18 AM, Kumar Gala <ga...@kernel.crashing.org> wrote:
> + * Adding 1 to get a "nicely" rounded number, but this needs > + * more tweaking to get a "properly" rounded number. > + */ > + > + freq = 1 + (input_freq * 2 * (VDW + 8) / ((RDW + 2) * OD)); Is this rounding algorithm the reason why I get output like this: Clock Configuration: CPU0:799.992 MHz, CPU1:799.992 MHz, CCB:399.996 MHz, DDR:299.997 MHz (599.994 MT/s data rate) (Asynchronous), LBC:25 MHz If so, maybe we should fix it? -- Timur Tabi Linux kernel developer at Freescale _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot