summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorTang Yuantian <yuantian.tang@freescale.com>2014-05-07 10:25:06 +0800
committerYork Sun <yorksun@freescale.com>2014-05-16 16:24:26 -0500
commit0f1fa36ffffbd34c8512eeacade7139bcffda47c (patch)
tree9ca1662a07711500836cd79fcfd693c5f6e54491 /board/freescale
parent477c894ff475be9886bd936fa8eeef7bfe862161 (diff)
downloadu-boot-imx-0f1fa36ffffbd34c8512eeacade7139bcffda47c.zip
u-boot-imx-0f1fa36ffffbd34c8512eeacade7139bcffda47c.tar.gz
u-boot-imx-0f1fa36ffffbd34c8512eeacade7139bcffda47c.tar.bz2
powerpc/t104xrdb: Toggle deep sleep management signals after resume
T104xrdb has several sleep management signals that are used for deep sleep. They are enabled by OS to enter deep sleep and should be disabled by u-boot when cores wake up. Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/t104xrdb/t104xrdb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/t104xrdb/t104xrdb.c b/board/freescale/t104xrdb/t104xrdb.c
index fb5b849..a5e5fff 100644
--- a/board/freescale/t104xrdb/t104xrdb.c
+++ b/board/freescale/t104xrdb/t104xrdb.c
@@ -109,6 +109,8 @@ void ft_board_setup(void *blob, bd_t *bd)
#ifdef CONFIG_DEEP_SLEEP
void board_mem_sleep_setup(void)
{
+ /* does not provide HW signals for power management */
+ CPLD_WRITE(misc_ctl_status, (CPLD_READ(misc_ctl_status) & ~0x40));
/* Disable MCKE isolation */
gpio_set_value(2, 0);
udelay(1);