]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: rmobile: alt: Fix typo in comment for sh-i2c
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Mon, 10 Nov 2014 00:16:44 +0000 (09:16 +0900)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Mon, 10 Nov 2014 00:48:20 +0000 (09:48 +0900)
PowerIC connected to channel 1 of sh-i2c, not channel 2.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
board/renesas/alt/alt.c

index 083e007fcfd7c12a56c5da7e71564d5e9cc6f5ce..68ae9372c74aa29d8a3193a971cb8a666fc20344 100644 (file)
@@ -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;