summaryrefslogtreecommitdiff
path: root/drivers/fsl_i2c.c
Commit message (Collapse)AuthorAgeLines
* Make fsl-i2c not conflict with SOFT I2CJoakim Tjernlund2006-11-29-7/+10
| | | | Signed-off-by: Timur Tabi <timur@freescale.com>
* Fix I2C master address initialization.Joakim Tjernlund2006-11-29-1/+1
| | | | Signed-off-by: Timur Tabi <timur@freescale.com>
* mpc83xx: Update 83xx to use fsl_i2c.cTimur Tabi2006-11-03-32/+81
| | | | | | | | Update the 83xx tree to use I2C support in drivers/fsl_i2c.c. Delete cpu/mpc83xx/i2c.c, include/asm-ppc/i2c.h, and all references to those files. Added multiple I2C bus support to fsl_i2c.c. Signed-off-by: Timur Tabi <timur@freescale.com>
* Converted all 85xx boards to use a common FSL I2C driver.Jon Loeliger2006-10-20-3/+7
| | | | | | | | Introduced COFIG_FSL_I2C to select the common FSL I2C driver. And removed hard i2c path from a few u-boot.lds scipts too. Minor whitespace cleanups along the way. Signed-off-by: Jon Loeliger <jdl@freescale.com>
* Rewrite a series of goto statements as a sequences ofJon Loeliger2006-10-19-31/+21
| | | | | | | | | | conditional expressions instead. Use consistent return code 0/-1 for good/bad indicators. Include one fewer file if the driver isn't used at all. Signed-off-by: Jon Loeliger <jdl@freescale.com>
* Moved i2c driver out of cpu/mpc86xx/i2c.c into drivers/fsl_i2c.cJon Loeliger2006-10-19-0/+247
in an effort to begin to unify the umpteen FSL I2C drivers that are all otherwise very similar. Signed-off-by: Jon Loeliger <jdl@freescale.com>