]> git.sur5r.net Git - u-boot/commitdiff
board:trats1:trats2: fix adapter number
authorPiotr Wilczek <p.wilczek@samsung.com>
Wed, 18 Dec 2013 14:43:37 +0000 (15:43 +0100)
committerMinkyu Kang <mk7.kang@samsung.com>
Tue, 31 Dec 2013 07:41:10 +0000 (16:41 +0900)
This fix is necessary after increased by one the number
of adapters in s3c24x0 driver.

Tested on Trats and Trats2.

Signed-off-by: Piotr Wilczek <p.wilczek@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/trats/trats.c
board/samsung/trats2/trats2.c

index 8aba51c009fd2175f2f36e7b92b52708ca48b74a..640a193dc21bb92d91b4814e049c12c35df1638a 100644 (file)
@@ -295,7 +295,7 @@ int power_init_board(void)
         */
        ret = pmic_init(I2C_5);
        ret |= pmic_init_max8997();
-       ret |= power_fg_init(I2C_8);
+       ret |= power_fg_init(I2C_9);
        ret |= power_muic_init(I2C_5);
        ret |= power_bat_init(0);
        if (ret)
index 147de179cc60accfc785aeb9e4f60c1f6b77f2bc..be15357e69fb0627eaa06eaf13d5e3e88ebe62f0 100644 (file)
@@ -195,9 +195,9 @@ int power_init_board(void)
 #endif
        pmic_init(I2C_7);               /* I2C adapter 7 - bus name s3c24x0_7 */
        pmic_init_max77686();
-       pmic_init_max77693(I2C_9);      /* I2C adapter 9 - bus name soft1 */
-       power_muic_init(I2C_9);         /* I2C adapter 9 - bus name soft1 */
-       power_fg_init(I2C_8);           /* I2C adapter 8 - bus name soft0 */
+       pmic_init_max77693(I2C_10);     /* I2C adapter 10 - bus name soft1 */
+       power_muic_init(I2C_10);        /* I2C adapter 10 - bus name soft1 */
+       power_fg_init(I2C_9);           /* I2C adapter 9 - bus name soft0 */
        power_bat_init(0);
 
        p_chrg = pmic_get("MAX77693_PMIC");