summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gong <B38343@freescale.com>2011-12-06 09:32:42 +0800
committerLily Zhang <r58066@freescale.com>2011-12-07 09:27:19 +0800
commit897922d01c812be802e4a928b937535ea1b8e076 (patch)
tree495ab4a4d9b0a84f49455ae245b7bfeb2261e623
parent69bc8d684ca0860a0d13c553364fe84204b7ef94 (diff)
downloadu-boot-imx-897922d01c812be802e4a928b937535ea1b8e076.zip
u-boot-imx-897922d01c812be802e4a928b937535ea1b8e076.tar.gz
u-boot-imx-897922d01c812be802e4a928b937535ea1b8e076.tar.bz2
ENGR00169500 mc34708 mx53_loco: 4s power off in QS boardimx_v2009.08_11.09.01
Implement the power off function when push the PWR key for 4s Signed-off-by: Robin Gong <B38343@freescale.com> (cherry picked from commit c9384fca46bf0fcf8f14f76e218e010f2d17263c)
-rw-r--r--board/freescale/mx53_loco/mx53_loco.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/freescale/mx53_loco/mx53_loco.c b/board/freescale/mx53_loco/mx53_loco.c
index c4ed4d7..5f97328 100644
--- a/board/freescale/mx53_loco/mx53_loco.c
+++ b/board/freescale/mx53_loco/mx53_loco.c
@@ -1163,6 +1163,7 @@ int board_late_init(void)
printf("%s:i2c_read:error\n", __func__);
return -1;
}
+ buf[2] |= 0x2;
buf[1] |= 0x1;
buf[1] &= ~0x2;
if (i2c_write(0x8, 15, 1, buf, 3)) {