summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-03-12 01:30:45 +0100
committerWolfgang Denk <wd@pollux.denx.de>2006-03-12 01:30:45 +0100
commit82d716fd0d057db300cf2b1ab59194858f9b2e6d (patch)
tree7565a4b5538c4067c32cf54031c212ca936027cd /common
parent611125a2925632c3281885e02836725ac1f6d8b0 (diff)
downloadu-boot-imx-82d716fd0d057db300cf2b1ab59194858f9b2e6d.zip
u-boot-imx-82d716fd0d057db300cf2b1ab59194858f9b2e6d.tar.gz
u-boot-imx-82d716fd0d057db300cf2b1ab59194858f9b2e6d.tar.bz2
Fix comment in common/soft_i2c.c
Patches by Peter Korsgaard/Tolunay Orkun, 26 May 2005
Diffstat (limited to 'common')
-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 3d0e08c..268da2c 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();