diff options
author | Ye Li <ye.li@nxp.com> | 2017-06-20 06:30:18 -0500 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-06-20 06:37:48 -0500 |
commit | 2885cf75f2f944c6ededd7fb0d3189ba6681f0cc (patch) | |
tree | b87bc852c587b183c68d5594e1825f6031ee428c /board/freescale | |
parent | ed4a8ca872eda7442f5832ecfec7b0da255bb2b6 (diff) | |
download | u-boot-imx-2885cf75f2f944c6ededd7fb0d3189ba6681f0cc.zip u-boot-imx-2885cf75f2f944c6ededd7fb0d3189ba6681f0cc.tar.gz u-boot-imx-2885cf75f2f944c6ededd7fb0d3189ba6681f0cc.tar.bz2 |
MLK-15108 mx7d_12x12_lpddr3_arm2: Fix PMIC setting issue
Fix the SW2MODE setting problem in power_init_board, which causes issue when wakeup source
is set in kernel for LPSR.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Bai Ping <ping.bai@nxp.com>
(cherry picked from commit 35e62eb779ffcc5af32a6fff615549e536bf6cf4)
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/mx7d_12x12_lpddr3_arm2/mx7d_12x12_lpddr3_arm2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mx7d_12x12_lpddr3_arm2/mx7d_12x12_lpddr3_arm2.c b/board/freescale/mx7d_12x12_lpddr3_arm2/mx7d_12x12_lpddr3_arm2.c index 692f158..2c64a9a 100644 --- a/board/freescale/mx7d_12x12_lpddr3_arm2/mx7d_12x12_lpddr3_arm2.c +++ b/board/freescale/mx7d_12x12_lpddr3_arm2/mx7d_12x12_lpddr3_arm2.c @@ -615,7 +615,7 @@ int power_init_board(void) reg |= 0x80; pmic_reg_write(dev, PFUZE3000_VLDO3CTL, reg); - pmic_reg_read(dev, PFUZE3000_SW2MODE); + reg = pmic_reg_read(dev, PFUZE3000_SW2MODE); reg |= 0x20; pmic_reg_write(dev, PFUZE3000_SW2MODE, reg); |