projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d76da2
)
i2c, davinci: add i2c set speed
author
Heiko Schocher
<hs@denx.de>
Wed, 14 Sep 2011 19:25:12 +0000
(19:25 +0000)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Fri, 30 Sep 2011 20:00:56 +0000
(22:00 +0200)
Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Paulraj Sandeep <s-paulraj@ti.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
drivers/i2c/davinci_i2c.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/davinci_i2c.c
b/drivers/i2c/davinci_i2c.c
index eee1cbd25de863b016525a14ad97d805d2a091b9..5e3406dc8f4f04c8a87f1fd9e80aa280a4f658fd 100644
(file)
--- a/
drivers/i2c/davinci_i2c.c
+++ b/
drivers/i2c/davinci_i2c.c
@@
-119,6
+119,11
@@
void i2c_init(int speed, int slaveadd)
udelay(1000);
}
+int i2c_set_bus_speed(unsigned int speed)
+{
+ i2c_init(speed, CONFIG_SYS_I2C_SLAVE);
+ return 0;
+}
int i2c_probe(u_int8_t chip)
{