Skip to content
Snippets Groups Projects
Commit 82d716fd authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

Fix comment in common/soft_i2c.c

Patches by Peter Korsgaard/Tolunay Orkun, 26 May 2005
parent 611125a2
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
Changes since U-Boot 1.1.4: 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. * Cleanup compiler warnings.
Patch by Greg Ungerer, 21 May 2005 Patch by Greg Ungerer, 21 May 2005
......
...@@ -288,7 +288,10 @@ int i2c_probe(uchar addr) ...@@ -288,7 +288,10 @@ int i2c_probe(uchar addr)
{ {
int rc; int rc;
/* perform 1 byte read transaction */ /*
* perform 1 byte write transaction with just address byte
* (fake write)
*/
send_start(); send_start();
rc = write_byte ((addr << 1) | 0); rc = write_byte ((addr << 1) | 0);
send_stop(); send_stop();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment