浏览代码

Fix comment in common/soft_i2c.c
Patches by Peter Korsgaard/Tolunay Orkun, 26 May 2005

Wolfgang Denk 19 年之前
父节点
当前提交
82d716fd0d
共有 2 个文件被更改,包括 7 次插入1 次删除
  1. 3 0
      CHANGELOG
  2. 4 1
      common/soft_i2c.c

+ 3 - 0
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
 

+ 4 - 1
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();