summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2007-01-31 11:04:19 +0100
committerKim Phillips <kim.phillips@freescale.com>2007-03-02 11:05:54 -0600
commitf6f5f709e5c8e4564c4dfeecfdf2279244f9c83b (patch)
treec6eb6a476fd68ffe9a2cd8fb570332b21ff733c8 /include
parent7a78f148d6a7298e4fface680dc7eacd877b1aba (diff)
downloadu-boot-imx-f6f5f709e5c8e4564c4dfeecfdf2279244f9c83b.zip
u-boot-imx-f6f5f709e5c8e4564c4dfeecfdf2279244f9c83b.tar.gz
u-boot-imx-f6f5f709e5c8e4564c4dfeecfdf2279244f9c83b.tar.bz2
mpc83xx: Fix empty i2c reads/writes in fsl_i2c.c
Fix empty i2c reads/writes, i2c_write(0x50, 0x00, 0, NULL, 0) which is used to se if an slave will ACK after receiving its address. Correct i2c probing to use this method as the old method could upset a slave as it wrote a data byte to it. Add a small delay in i2c_init() to let the controller shutdown any ongoing I2C activity. Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions