summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Cai <R63905@freescale.com>2011-10-25 20:47:14 +0800
committerRobby Cai <R63905@freescale.com>2011-11-04 17:42:06 +0800
commiteadeefdbe43d513dbc8e9ac22e7f892c69259b94 (patch)
tree60b8f5257ac5a328662fce96620b1b8630447b97
parent78b0d1eeeb1279d76077fbf4521fff1ef732f7e9 (diff)
downloadu-boot-imx-eadeefdbe43d513dbc8e9ac22e7f892c69259b94.zip
u-boot-imx-eadeefdbe43d513dbc8e9ac22e7f892c69259b94.tar.gz
u-boot-imx-eadeefdbe43d513dbc8e9ac22e7f892c69259b94.tar.bz2
ENGR00161415: mc34708: set 1p5
set charging current limit to 1p5 Signed-off-by: Robby Cai <R63905@freescale.com>
-rw-r--r--board/freescale/mx53_pcba/mx53_pcba.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/mx53_pcba/mx53_pcba.c b/board/freescale/mx53_pcba/mx53_pcba.c
index 5ea1658..1214417 100644
--- a/board/freescale/mx53_pcba/mx53_pcba.c
+++ b/board/freescale/mx53_pcba/mx53_pcba.c
@@ -340,10 +340,10 @@ void setup_pmic_voltages(void)
if (i2c_write(0x8, 53, 1, buf, 3))
printf("%s:i2c_write 53:error\n", __func__);
- /* set both AUX current limit to 950mA */
+ /* set 1P5 */
if (i2c_read(0x8, 52, 1, &buf[0], 3))
printf("%s:i2c_read 52:error\n", __func__);
- buf[1] = (buf[1] & 0xc7) | 0x38;
+ buf[0] = buf[0] | 0x10;
if (i2c_write(0x8, 52, 1, buf, 3))
printf("%s:i2c_write 52:error\n", __func__);