Dear Kumar Gala, In message <54ce1181-5449-4fbf-9402-df5d4e99e...@kernel.crashing.org> you wrote: > > On Apr 22, 2011, at 6:50 AM, Tabi Timur-B04825 wrote: > > > On Thu, Apr 21, 2011 at 1:59 PM, Kumar Gala <ga...@kernel.crashing.org> > > wrote: > >> Introduce new CONFIG_SYS_FSL_TBCLK_DIV on 85xx platforms because > >> different SoCs have different divisor amounts. All the PQ3 parts are > >> /8, the P4080/P4080 is /16, and P2040/P3041/P5020 are /32. > > > > Shouldn't there also be a README update to document this option? > > I think its self evident what it is.
Please fix it. > >> + unsigned long tbclk_div = CONFIG_SYS_FSL_TBCLK_DIV; > >> + > >> + return (gd->bus_clk + (tbclk_div >> 1)) / tbclk_div; > > > > Why not just: > > > > return (gd->bus_clk + (CONFIG_SYS_FSL_TBCLK_DIV / 2)) / > > CONFIG_SYS_FSL_TBCLK_DIV; > > It was done this way to deal w/line wrapping. Now this is really a _very_ strange argument. Please fix as well. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de "The best index to a person's character is a) how he treats people who can't do him any good and b) how he treats people who can't fight back." - Abigail Van Buren _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot