summaryrefslogtreecommitdiff
path: root/board/renesas
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/renesas
parent63c4f17b2f8017d22241522a48c765073b8791b0 (diff)
downloadu-boot-imx-2035d77d790044f389a18c0e6baa05e86d4b32a0.zip
u-boot-imx-2035d77d790044f389a18c0e6baa05e86d4b32a0.tar.gz
u-boot-imx-2035d77d790044f389a18c0e6baa05e86d4b32a0.tar.bz2
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/renesas')
-rw-r--r--board/renesas/ecovec/ecovec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/renesas/ecovec/ecovec.c b/board/renesas/ecovec/ecovec.c
index e2d365a..fb4acf3 100644
--- a/board/renesas/ecovec/ecovec.c
+++ b/board/renesas/ecovec/ecovec.c
@@ -57,8 +57,7 @@ int board_late_init(void)
outl(inl(MSTPCR2) & ~0x10000000, MSTPCR2);
- i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
- i2c_set_bus_num(CONFIG_SYS_I2C_MODULE); /* Use I2C 1 */
+ i2c_set_bus_num(1); /* Use I2C 1 */
/* Read MAC address */
i2c_read(0x50, 0x10, 0, mac, 6);