summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorRobin Gong <b38343@freescale.com>2012-11-16 15:25:49 +0800
committerRobin Gong <b38343@freescale.com>2012-11-19 10:45:13 +0800
commit95c7393cf3836314c9b26dcc29ea3a75b4d5f8b2 (patch)
tree36688fdfd150a420cb197c003a569030635d1c8f /cpu
parentbbbdf5aa5605f7817e8561506e59a7c3f39e6402 (diff)
downloadu-boot-imx-95c7393cf3836314c9b26dcc29ea3a75b4d5f8b2.zip
u-boot-imx-95c7393cf3836314c9b26dcc29ea3a75b4d5f8b2.tar.gz
u-boot-imx-95c7393cf3836314c9b26dcc29ea3a75b4d5f8b2.tar.bz2
ENGR00233366-5 Anatop PFUZE: move LDO bypass code to kernel
move LDO bypass code and one PFUZE1.0 workaround code to kernel. Remove CONFIG_MX6_INTER_LDO_BYPASS in u-boot Signed-off-by: Robin Gong <b38343@freescale.com>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/arm_cortexa8/mx6/generic.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpu/arm_cortexa8/mx6/generic.c b/cpu/arm_cortexa8/mx6/generic.c
index 72e7255..bb91642 100644
--- a/cpu/arm_cortexa8/mx6/generic.c
+++ b/cpu/arm_cortexa8/mx6/generic.c
@@ -1042,6 +1042,9 @@ int arch_cpu_init(void)
val |= (0x1 << 18);
REG_WR(IOMUXC_BASE_ADDR, IOMUXC_GPR1_OFFSET, val);
+ /*clear PowerDown Enable bit of WDOGx_WMCR*/
+ writew(0, WDOG1_BASE_ADDR + 0x08);
+ writew(0, WDOG2_BASE_ADDR + 0x08);
return 0;
}
#endif