summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();
OpenPOWER on IntegriCloud