]> git.sur5r.net Git - u-boot/blobdiff - include/i2c.h
Merge branch 'master' of git://git.denx.de/u-boot-sh
[u-boot] / include / i2c.h
index d31c72d2475c48e42f977a63b48e68875620a924..a51c16464ffbb3069dca9dcdebfec81d37cbfb11 100644 (file)
@@ -63,6 +63,9 @@
 #if !defined(CFG_DTT_BUS_NUM)
 #define CFG_DTT_BUS_NUM                0
 #endif
+#if !defined(CFG_SPD_BUS_NUM)
+#define CFG_SPD_BUS_NUM                0
+#endif
 
 /*
  * Initialization, must be called once on start up, may be called
@@ -110,9 +113,9 @@ void  i2c_reg_write(uchar chip, uchar reg, uchar val);
  *  Change the active I2C bus.  Subsequent read/write calls will
  *  go to this one.
  *
- *     bus - bus index, zero based
+ *     bus - bus index, zero based
  *
- *     Returns: 0 on success, not 0 on failure
+ *     Returns: 0 on success, not 0 on failure
  *
  */
 int i2c_set_bus_num(unsigned int bus);
@@ -130,9 +133,9 @@ unsigned int i2c_get_bus_num(void);
  *
  *  Change the speed of the active I2C bus
  *
- *     speed - bus speed in Hz
+ *     speed - bus speed in Hz
  *
- *     Returns: 0 on success, not 0 on failure
+ *     Returns: 0 on success, not 0 on failure
  *
  */
 int i2c_set_bus_speed(unsigned int);