summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2015-09-02 23:05:04 +0800
committerAnson Huang <b20788@freescale.com>2015-09-02 23:31:02 +0800
commit83e13ec000013378e65cd0a6ddd77c4f3931db65 (patch)
treedc49af3392601852eaf480f51930c73429f8766a /board/freescale
parent48ca4c49de6d2519e023e99d1d18e7b731a73324 (diff)
downloadu-boot-imx-83e13ec000013378e65cd0a6ddd77c4f3931db65.zip
u-boot-imx-83e13ec000013378e65cd0a6ddd77c4f3931db65.tar.gz
u-boot-imx-83e13ec000013378e65cd0a6ddd77c4f3931db65.tar.bz2
MLK-11490 ARM: imx: imx6ul: disable pfuze3000 low power mode
Disable PFuze3000 low power mode during standby mode, otherwise, if the power consumption exceed the threshold, PFuze will reboot. Signed-off-by: Anson Huang <b20788@freescale.com>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
index d7d28a3..b5c3374 100644
--- a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
+++ b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
@@ -848,6 +848,11 @@ int power_init_board(void)
pmic_reg_read(pfuze, PFUZE300_REVID, &rev_id);
printf("PMIC: PFUZE300 DEV_ID=0x%x REV_ID=0x%x\n", reg, rev_id);
+ /* disable Low Power Mode during standby mode */
+ pmic_reg_read(pfuze, PFUZE300_LDOGCTL, &reg);
+ reg |= 0x1;
+ pmic_reg_write(pfuze, PFUZE300_LDOGCTL, reg);
+
/* SW1B step ramp up time from 2us to 4us/25mV */
reg = 0x40;
pmic_reg_write(pfuze, PFUZE300_SW1BCONF, reg);