Merge branch 'master' of git://git.denx.de/u-boot-socfpga
[oweals/u-boot.git] / board / technexion / pico-imx6ul / pico-imx6ul.c
index 5cbf803e7e6186600e4cf2b9bd6e0ce2bf5cde16..49aeb80327b5d1bfc5df942ed8cdb1dd663b2883 100644 (file)
@@ -231,9 +231,7 @@ int power_init_board(void)
        printf("PMIC: PFUZE3000 DEV_ID=0x%x REV_ID=0x%x\n", reg, rev_id);
 
        /* disable Low Power Mode during standby mode */
-       pmic_reg_read(pfuze, PFUZE3000_LDOGCTL, &reg);
-       reg |= 0x1;
-       pmic_reg_write(pfuze, PFUZE3000_LDOGCTL, reg);
+       pmic_reg_write(pfuze, PFUZE3000_LDOGCTL, 0x1);
 
        /* SW1B step ramp up time from 2us to 4us/25mV */
        pmic_reg_write(pfuze, PFUZE3000_SW1BCONF, 0x40);