diff options
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/mx53_smd/mx53_smd.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/board/freescale/mx53_smd/mx53_smd.c b/board/freescale/mx53_smd/mx53_smd.c index b9bd250..eda4eec 100644 --- a/board/freescale/mx53_smd/mx53_smd.c +++ b/board/freescale/mx53_smd/mx53_smd.c @@ -414,12 +414,8 @@ void setup_pmic_voltages(void) /* increase VDDGP as 1.25V for 1GHZ */ value = 0x5e; do { - if (0 != i2c_write(0x48, 0x2e, 1, &value, 1)) { - printf("da9052_i2c_is_connected - i2c write failed.....\n"); - } else { - printf("da9052_i2c_is_connected - i2c write success....\n"); + if (0 == i2c_write(0x48, 0x2e, 1, &value, 1)) ret = 0; - } } while (ret != 0 && retries--); i2c_read(0x48, 60, 1, &value, 1); value |= 0x1; |