summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2016-01-28 14:28:35 +0800
committerguoyin.chen <guoyin.chen@freescale.com>2016-03-04 15:53:40 +0800
commitf2d295e18b25d02215b1bb2a9e76340594db7698 (patch)
tree413e4df8d02ec2e31c40a58aa28144526596cbc4
parentacbda20bc8466f9262dfacccf43c39495fd467e1 (diff)
downloadu-boot-imx-f2d295e18b25d02215b1bb2a9e76340594db7698.zip
u-boot-imx-f2d295e18b25d02215b1bb2a9e76340594db7698.tar.gz
u-boot-imx-f2d295e18b25d02215b1bb2a9e76340594db7698.tar.bz2
MLK-12375 imx: mx6ul: fix PMIC_STBY_REQ settinng for TO1.1
TO1.1 already fixed this PMIC_STBY_REQ open drain issue. Signed-off-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit ca666cbc2bff17744f652de72ca258ff9c5275e6)
-rw-r--r--arch/arm/cpu/armv7/mx6/soc.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c
index 79b99b2..4e1ea01 100644
--- a/arch/arm/cpu/armv7/mx6/soc.c
+++ b/arch/arm/cpu/armv7/mx6/soc.c
@@ -467,12 +467,14 @@ int arch_cpu_init(void)
#endif
#if defined(CONFIG_MX6UL)
- /*
- * According to the design team's requirement on i.MX6UL,
- * the PMIC_STBY_REQ PAD should be configured as open
- * drain 100K (0x0000b8a0).
- */
- writel(0x0000b8a0, IOMUXC_BASE_ADDR + 0x29c);
+ if (is_soc_rev(CHIP_REV_1_0) == 0) {
+ /*
+ * According to the design team's requirement on i.MX6UL,
+ * the PMIC_STBY_REQ PAD should be configured as open
+ * drain 100K (0x0000b8a0).
+ */
+ writel(0x0000b8a0, IOMUXC_BASE_ADDR + 0x29c);
+ }
#endif
/* Set perclk to source from OSC 24MHz */