[U-Boot] [PATCH 1/4] OMAP3 I2C Fix the sampling clock.

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Fri Jun 12 23:41:04 CEST 2009


On 23:12 Wed 10 Jun     , Menon, Nishanth wrote:
> > -----Original Message-----
> > From: Tom [mailto:Tom.Rix at windriver.com]
> > Sent: Wednesday, June 10, 2009 9:44 PM
> > > This is a repeat story of what happened in linux-omap and kernel. We had
> > a similar discussion in [1] and related patch [2] to change equations. I
> > have the same reservations with this patch:
> > > a) using speed as default does not scale for all board combinations.
> > > b) need flexible option to provide scll and sclh on a platform basis.
> > > Regards,
> > > Nishanth Menon
> > > Ref:
> > > [1] http://marc.info/?t=123540865900002&r=1&w=2
> > > [2] http://marc.info/?l=linux-omap&m=122770723311340&w=2
> > >
> > Do you think this could be handled with just config files?
> > Or maybe like fsl_i2c does by passing clk data through the global_data ?
> #defines in config header file might be a viable option.. Though the gd might be cleaner I think.. 

please a config and then create a inline function like this

Best Regards,
J.


More information about the U-Boot mailing list