[U-Boot-Users] [PATCH] 83xx: Add support for CFG_I2C_SPEED in fsl_i2c.c

Timur Tabi timur at freescale.com
Wed Jan 9 21:34:40 CET 2008


Timur Tabi wrote:
> Add support to fsl_i2c.c for setting and querying the I2C bus speed.  Current
> 83xx boards define the CFG_I2C_SPEED, but fsl_i2c.c ignores the value and
> uses a conservative value of 0x3F when programming the I2C bus speed.
> 
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
> 
> Unfortunately, only 83xx calculates and stores the I2C clock frequencies,
> so this code is compiled on 83xx only.

I've got another patch that adds this feature to 85xx and 86xx, so if that patch 
is applied, then I will submit another version of *this* patch that extends the 
code to 85xx and 86xx.

-- 
Timur Tabi
Linux kernel developer at Freescale




More information about the U-Boot mailing list