summaryrefslogtreecommitdiff
path: root/board/kmc
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2013-10-29 13:33:51 +0900
committerHeiko Schocher <hs@denx.de>2013-11-13 06:08:26 +0100
commit2035d77d790044f389a18c0e6baa05e86d4b32a0 (patch)
tree96a4e48046a2758772060696cb4c2606540cd09e /board/kmc
parent63c4f17b2f8017d22241522a48c765073b8791b0 (diff)
downloadu-boot-2035d77d790044f389a18c0e6baa05e86d4b32a0.tar.gz
u-boot-2035d77d790044f389a18c0e6baa05e86d4b32a0.tar.bz2
u-boot-2035d77d790044f389a18c0e6baa05e86d4b32a0.zip
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')
-rw-r--r--board/kmc/kzm9g/kzm9g.c1
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);