summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2016-01-28 14:28:35 +0800
committerfang hui <hui.fang@freescale.com>2016-03-16 13:48:19 +0800
commitaaf8ae98abe7e04a41ca191d996d8d10a2877d4c (patch)
treef36d4fd4b1ac353a06fdf738b39fb88dcf0e555b /arch/arm
parent83834a4a4ee7aa9c42f88cbe2c12fc9b9f0e1d0f (diff)
downloadu-boot-imx-aaf8ae98abe7e04a41ca191d996d8d10a2877d4c.zip
u-boot-imx-aaf8ae98abe7e04a41ca191d996d8d10a2877d4c.tar.gz
u-boot-imx-aaf8ae98abe7e04a41ca191d996d8d10a2877d4c.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>
Diffstat (limited to 'arch/arm')
-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 */