[U-Boot] [PATCH 6/9] mx1: improve PLL freq computation
Stefano Babic
sbabic at denx.de
Thu Aug 11 11:22:35 CEST 2011
On 08/10/2011 10:33 PM, Eric Jarrige wrote:
> Improve PLL freq computation by using the full resolution of the PLL registers
Hi Eric,
> + return (2*(u64)sys_clk_freq * (mfi*(mfd+1) + mfn))/((mfd+1)*(pd+1));
> +}
>
> - return (2*(CONFIG_SYSPLL_CLK_FREQ>>10)*( (mfi<<10) + (mfn<<10)/(mfd+1)))/(pd+1);
Please run checkpatch on your patches for V2. I have not yet done, but
this line will report missing spaces.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
More information about the U-Boot
mailing list