diff options
author | Robin Gong <b38343@freescale.com> | 2014-08-15 09:45:22 +0800 |
---|---|---|
committer | Robin Gong <b38343@freescale.com> | 2014-08-26 14:38:41 +0800 |
commit | 12631a3faba80f58f24086d6d9b561ab9b808025 (patch) | |
tree | 1b6b35cdf8aa9921482bc8c7c8bf0479e329180f /board/freescale | |
parent | 404fd02e96d33840f58f83f88815e2a259cdc532 (diff) | |
download | u-boot-imx-12631a3faba80f58f24086d6d9b561ab9b808025.zip u-boot-imx-12631a3faba80f58f24086d6d9b561ab9b808025.tar.gz u-boot-imx-12631a3faba80f58f24086d6d9b561ab9b808025.tar.bz2 |
ENGR00326277-2 imx6: watchdog: use WDOG_B mode for wdog reset in ldo-bypass mode
In ldo-bypass mode, we need trigger WDOG_B pin to reset pmic in ldo-bypass mode.
Signed-off-by: Robin Gong <b38343@freescale.com>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/mx6sabresd/mx6sabresd.c | 3 | ||||
-rw-r--r-- | board/freescale/mx6slevk/mx6slevk.c | 2 | ||||
-rw-r--r-- | board/freescale/mx6sx_17x17_arm2/mx6sx_17x17_arm2.c | 2 | ||||
-rw-r--r-- | board/freescale/mx6sx_19x19_arm2/mx6sx_19x19_arm2.c | 2 | ||||
-rw-r--r-- | board/freescale/mx6sxsabresd/mx6sxsabresd.c | 2 |
5 files changed, 6 insertions, 5 deletions
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c index 994a9dd..c65b983 100644 --- a/board/freescale/mx6sabresd/mx6sabresd.c +++ b/board/freescale/mx6sabresd/mx6sabresd.c @@ -253,6 +253,7 @@ static void setup_iomux_uart(void) } #ifdef CONFIG_SYS_I2C_MXC + /* set all switches APS in normal and PFM mode in standby */ static int setup_pmic_mode(int chip) { @@ -456,7 +457,7 @@ void ldo_mode_set(int ldo_bypass) * VDDARM:1.175V@800M; VDDSOC:1.175V@800M * VDDARM:1.075V@400M; VDDSOC:1.175V@400M */ - is_400M = set_anatop_bypass(); + is_400M = set_anatop_bypass(2); if (is_400M) #if defined(CONFIG_MX6DL) vddarm = 0x1f; diff --git a/board/freescale/mx6slevk/mx6slevk.c b/board/freescale/mx6slevk/mx6slevk.c index 21dc196..9ff49b4 100644 --- a/board/freescale/mx6slevk/mx6slevk.c +++ b/board/freescale/mx6slevk/mx6slevk.c @@ -787,7 +787,7 @@ void ldo_mode_set(int ldo_bypass) return; } - is_400M = set_anatop_bypass(); + is_400M = set_anatop_bypass(0); /* * MX6SL: VDDARM:1.175V@800M; VDDSOC:1.175V@800M diff --git a/board/freescale/mx6sx_17x17_arm2/mx6sx_17x17_arm2.c b/board/freescale/mx6sx_17x17_arm2/mx6sx_17x17_arm2.c index 8ddaded..c253a6d 100644 --- a/board/freescale/mx6sx_17x17_arm2/mx6sx_17x17_arm2.c +++ b/board/freescale/mx6sx_17x17_arm2/mx6sx_17x17_arm2.c @@ -737,7 +737,7 @@ void ldo_mode_set(int ldo_bypass) return; } - set_anatop_bypass(); + set_anatop_bypass(1); printf("switch to ldo_bypass mode!\n"); } diff --git a/board/freescale/mx6sx_19x19_arm2/mx6sx_19x19_arm2.c b/board/freescale/mx6sx_19x19_arm2/mx6sx_19x19_arm2.c index 70fe481..2d5c8fc 100644 --- a/board/freescale/mx6sx_19x19_arm2/mx6sx_19x19_arm2.c +++ b/board/freescale/mx6sx_19x19_arm2/mx6sx_19x19_arm2.c @@ -784,7 +784,7 @@ void ldo_mode_set(int ldo_bypass) return; } - set_anatop_bypass(); + set_anatop_bypass(1); printf("switch to ldo_bypass mode!\n"); } diff --git a/board/freescale/mx6sxsabresd/mx6sxsabresd.c b/board/freescale/mx6sxsabresd/mx6sxsabresd.c index 8fa4329..a6552de 100644 --- a/board/freescale/mx6sxsabresd/mx6sxsabresd.c +++ b/board/freescale/mx6sxsabresd/mx6sxsabresd.c @@ -801,7 +801,7 @@ void ldo_mode_set(int ldo_bypass) return; } - set_anatop_bypass(); + set_anatop_bypass(1); printf("switch to ldo_bypass mode!\n"); } |