The i2c_init function is no longer necessary.
Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
---
board/renesas/alt/alt.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/board/renesas/alt/alt.c b/board/renesas/alt/alt.c
index 68ae937..039cb37 100644
--- a/board/renesas/alt/alt.c
+++ b/board/renesas/alt/alt.c
@@ -167,7 +167,6 @@ void reset_cpu(ulong addr)
u8 val;
i2c_set_bus_num(1); /* PowerIC connected to ch1 */
- i2c_init(400000, 0);
i2c_read(CONFIG_SYS_I2C_POWERIC_ADDR, 0x13, 1, &val, 1);
val |= 0x02;
i2c_write(CONFIG_SYS_I2C_POWERIC_ADDR, 0x13, 1, &val, 1);
--
2.1.1
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot