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

Joakim Tjernlund joakim.tjernlund at transmode.se
Thu Sep 17 20:11:11 CEST 2009


>
> 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_init(), which is the default.



More information about the U-Boot mailing list