projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ppc4xx: Fix 460EX errata with CPU lockup upon high AHB traffic
[oweals/u-boot.git]
/
include
/
i2c.h
diff --git
a/include/i2c.h
b/include/i2c.h
index d31c72d2475c48e42f977a63b48e68875620a924..a51c16464ffbb3069dca9dcdebfec81d37cbfb11 100644
(file)
--- a/
include/i2c.h
+++ b/
include/i2c.h
@@
-63,6
+63,9
@@
#if !defined(CFG_DTT_BUS_NUM)
#define CFG_DTT_BUS_NUM 0
#endif
#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
/*
* 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.
*
* 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);
*
*/
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
*
*
* 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);
*
*/
int i2c_set_bus_speed(unsigned int);