summaryrefslogtreecommitdiff
path: root/common/soft_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/soft_i2c.c')
-rw-r--r--common/soft_i2c.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/soft_i2c.c b/common/soft_i2c.c
index 3d0e08c6ff..268da2cdc4 100644
--- a/common/soft_i2c.c
+++ b/common/soft_i2c.c
@@ -288,7 +288,10 @@ int i2c_probe(uchar addr)
{
int rc;
- /* perform 1 byte read transaction */
+ /*
+ * perform 1 byte write transaction with just address byte
+ * (fake write)
+ */
send_start();
rc = write_byte ((addr << 1) | 0);
send_stop();