
19 Jan
2010
19 Jan
'10
9:50 p.m.
Signed-off-by: David Wu davidwu@arcturusnetworks.com Signed-off-by: Michael Durrant mdurrant@arcturusnetworks.com
Patch created against u-boot-2009.11 release
drivers_i2c_fsl_i2c.patch - need to set I2C to be idle acoording to the MCF5282 user's manual
If I2SR[IBB] is set when the I2C bus module is enabled, execute the following code sequence before proceeding with normal initialization code. This issues a STOP command to the slave device, placing it in idle state as if it were just power-cycled on.
I2CR = 0x0 I2CR = 0xA dummy read of I2DR I2SR = 0x0 I2CR = 0x0
-- Michael Durrant mdurrant@arcturusnetworks.com