diff options
author | Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> | 2013-10-29 08:33:51 +0400 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2013-11-13 09:08:26 +0400 |
commit | 2035d77d790044f389a18c0e6baa05e86d4b32a0 (patch) | |
tree | 96a4e48046a2758772060696cb4c2606540cd09e /board/kmc/kzm9g/kzm9g.c | |
parent | 63c4f17b2f8017d22241522a48c765073b8791b0 (diff) | |
download | u-boot-2035d77d790044f389a18c0e6baa05e86d4b32a0.tar.xz |
i2c: sh_i2c: Update to new CONFIG_SYS_I2C framework
This updates to new I2C framwwork on sh_i2c.
And this also updates boards(kzm9g and ecovec) that using sh_i2c.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'board/kmc/kzm9g/kzm9g.c')
-rw-r--r-- | board/kmc/kzm9g/kzm9g.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c index b669ffefec..ea36fa4e19 100644 --- a/board/kmc/kzm9g/kzm9g.c +++ b/board/kmc/kzm9g/kzm9g.c @@ -289,7 +289,6 @@ void adjust_core_voltage(void) { u8 data; - i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE); data = 0x35; i2c_set_bus_num(0); i2c_write(0x40, 3, 1, &data, 1); |