[U-Boot] [PATCH 2/3] arm: rmobile: alt: Fix typo in comment for sh-i2c
Nobuhiro Iwamatsu
nobuhiro.iwamatsu.yj at renesas.com
Mon Nov 10 01:16:44 CET 2014
PowerIC connected to channel 1 of sh-i2c, not channel 2.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj at renesas.com>
---
board/renesas/alt/alt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/renesas/alt/alt.c b/board/renesas/alt/alt.c
index 083e007..68ae937 100644
--- a/board/renesas/alt/alt.c
+++ b/board/renesas/alt/alt.c
@@ -166,7 +166,7 @@ void reset_cpu(ulong addr)
{
u8 val;
- i2c_set_bus_num(1); /* PowerIC connected to ch3 */
+ 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;
--
2.1.1
More information about the U-Boot
mailing list