]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
karo: tx6ul: disable PMIC init
authorLothar Waßmann <LW@KARO-electronics.de>
Tue, 20 Oct 2015 11:35:50 +0000 (13:35 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 20 Oct 2015 11:35:50 +0000 (13:35 +0200)
The I2C-GPIO driver requires configuration via DTB which is not
currently supported for Ka-Ro modules. So, disable the PMIC access for
now.

board/karo/tx6/tx6ul.c

index 045605d94e5d624b9ed518374f5a479e5559b18f..a433c143431710e8655d14ac2655aad854837b84 100644 (file)
@@ -428,12 +428,13 @@ int board_init(void)
 #endif
                return 0;
        }
 #endif
                return 0;
        }
-
+#if 0
        ret = tx6_pmic_init(pmic_addr);
        if (ret) {
                printf("Failed to setup PMIC voltages: %d\n", ret);
        ret = tx6_pmic_init(pmic_addr);
        if (ret) {
                printf("Failed to setup PMIC voltages: %d\n", ret);
-//             hang();
+               hang();
        }
        }
+#endif
        return 0;
 }
 
        return 0;
 }