Skip to content
Snippets Groups Projects
Commit 49d6da60 authored by Heiko Schocher's avatar Heiko Schocher Committed by Albert ARIBAUD
Browse files

i2c, davinci: add i2c set speed


Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
Cc: Paulraj Sandeep <s-paulraj@ti.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Signed-off-by: default avatarSandeep Paulraj <s-paulraj@ti.com>
parent 2d76da24
No related branches found
No related tags found
No related merge requests found
......@@ -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)
{
......
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