summaryrefslogtreecommitdiff
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
parent611125a2925632c3281885e02836725ac1f6d8b0 (diff)
Fix comment in common/soft_i2c.c
Patches by Peter Korsgaard/Tolunay Orkun, 26 May 2005
-rw-r--r--CHANGELOG3
-rw-r--r--common/soft_i2c.c5
2 files changed, 7 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index b2adb3167b..8afc11b611 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,9 @@
Changes since U-Boot 1.1.4:
======================================================================
+* Fix comment in common/soft_i2c.c
+ Patches by Peter Korsgaard/Tolunay Orkun, 26 May 2005
+
* Cleanup compiler warnings.
Patch by Greg Ungerer, 21 May 2005
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();