diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-05-16 11:08:11 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-06-03 20:25:56 +0200 |
commit | 110e006fe67fb4a6e1719ae6956c79b7ffc0148b (patch) | |
tree | 4263a5a7897272bf7a02bba37058f90e2ea742a4 /board/sbc405 | |
parent | f979690ee337450b2030aba128f95b7a8d9881c0 (diff) | |
download | u-boot-imx-110e006fe67fb4a6e1719ae6956c79b7ffc0148b.zip u-boot-imx-110e006fe67fb4a6e1719ae6956c79b7ffc0148b.tar.gz u-boot-imx-110e006fe67fb4a6e1719ae6956c79b7ffc0148b.tar.bz2 |
soft_i2c: Pull SDA high before reading
Spotted by Dean Capindale.
Systems that support open-drain GPIO properly are allowed provide an
empty I2C_TRISTATE define. However, this means that we need to be
careful not to drive SDA low when the slave is expected to respond.
This patch adds a missing I2C_SDA(1) to read_byte() required to
tristate the SDA line on systems that support open-drain GPIO.
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'board/sbc405')
0 files changed, 0 insertions, 0 deletions