]> git.sur5r.net Git - u-boot/commit
Add support for setting the I2C bus speed in fsl_i2c.c
authorTimur Tabi <timur@freescale.com>
Fri, 14 Mar 2008 22:45:29 +0000 (17:45 -0500)
committerWolfgang Denk <wd@denx.de>
Wed, 26 Mar 2008 23:09:17 +0000 (00:09 +0100)
commitd8c82db482d6b535d12b419d6440b88bf7091c9b
treed1a3d0480fce5135d180f648f75a16ee195de734
parentd049cc7f71c0d875e8f5099d1ed23666a82b8f8e
Add support for setting the I2C bus speed in fsl_i2c.c

Add support to the Freescale I2C driver (fsl_i2c.c) for setting and querying
the I2C bus speed.  Current 8[356]xx boards define the CFG_I2C_SPEED macro,
but fsl_i2c.c ignores it and uses conservative value when programming the
I2C bus speed.

Signed-off-by: Timur Tabi <timur@freescale.com>
Acked-by: Andy Fleming <afleming@freescale.com>
drivers/i2c/fsl_i2c.c