Re: [U-Boot] [PATCH 2/3] fsl_i2c: Add CONFIG_FSL_I2C_CUSTOM_{DFSR/FDR}

2009-09-17 Thread Joakim Tjernlund
> > Joakim Tjernlund wrote: > > > +#ifdef CONFIG_FSL_I2C_CUSTOM_FDR > > + fdr = CONFIG_FSL_I2C_CUSTOM_FDR; > > + speed = i2c_clk / divider; /* Fake something */ > > How about setting 'speed' to CONFIG_SYS_I2C_SPEED? Naa, if you want that you just pass CONFIG_SYS_I2C_SPEED to i2c_in

Re: [U-Boot] [PATCH 2/3] fsl_i2c: Add CONFIG_FSL_I2C_CUSTOM_{DFSR/FDR}

2009-09-17 Thread Timur Tabi
Joakim Tjernlund wrote: > +#ifdef CONFIG_FSL_I2C_CUSTOM_FDR > + fdr = CONFIG_FSL_I2C_CUSTOM_FDR; > + speed = i2c_clk / divider; /* Fake something */ How about setting 'speed' to CONFIG_SYS_I2C_SPEED? -- Timur Tabi Linux kernel developer at Freescale _

Re: [U-Boot] [PATCH 2/3] fsl_i2c: Add CONFIG_FSL_I2C_CUSTOM_{DFSR/FDR}

2009-09-17 Thread Heiko Schocher
Hello Joakim, Joakim Tjernlund wrote: > Some boards need a higher DFSR value than the spec currently > recommends so give these boards the means to define there own. > > For completeness, add CONFIG_FSL_I2C_CUSTOM_FDR too. > > Signed-off-by: Joakim Tjernlund > --- > drivers/i2c/fsl_i2c.c | 1

[U-Boot] [PATCH 2/3] fsl_i2c: Add CONFIG_FSL_I2C_CUSTOM_{DFSR/FDR}

2009-09-17 Thread Joakim Tjernlund
Some boards need a higher DFSR value than the spec currently recommends so give these boards the means to define there own. For completeness, add CONFIG_FSL_I2C_CUSTOM_FDR too. Signed-off-by: Joakim Tjernlund --- drivers/i2c/fsl_i2c.c | 14 +++--- 1 files changed, 11 insertions(+), 3