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

Timur Tabi
2009-09-17T14:38:02Z

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