diff options
author | Tang Yuantian <yuantian.tang@freescale.com> | 2014-04-17 15:33:45 +0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-04-22 17:58:49 -0700 |
commit | 5303a3dea95227f940440a7a4101dfbb76959682 (patch) | |
tree | b84a4b0a7a48f522bbf82a5ca6df071992a22289 /board/freescale/t104xrdb | |
parent | 48f6a9a2bfffb77d00444865b40681aa5b41c6c7 (diff) | |
download | u-boot-imx-5303a3dea95227f940440a7a4101dfbb76959682.zip u-boot-imx-5303a3dea95227f940440a7a4101dfbb76959682.tar.gz u-boot-imx-5303a3dea95227f940440a7a4101dfbb76959682.tar.bz2 |
mpc85xx: Add deep sleep support on T104xRDB
Add deep sleep support on T104xRDB platforms.
Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/freescale/t104xrdb')
-rw-r--r-- | board/freescale/t104xrdb/t104xrdb.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/freescale/t104xrdb/t104xrdb.c b/board/freescale/t104xrdb/t104xrdb.c index b48133a..fb5b849 100644 --- a/board/freescale/t104xrdb/t104xrdb.c +++ b/board/freescale/t104xrdb/t104xrdb.c @@ -17,6 +17,7 @@ #include <asm/fsl_portals.h> #include <asm/fsl_liodn.h> #include <fm_eth.h> +#include <asm/mpc85xx_gpio.h> #include "t104xrdb.h" #include "cpld.h" @@ -104,3 +105,12 @@ void ft_board_setup(void *blob, bd_t *bd) fdt_fixup_fman_ethernet(blob); #endif } + +#ifdef CONFIG_DEEP_SLEEP +void board_mem_sleep_setup(void) +{ + /* Disable MCKE isolation */ + gpio_set_value(2, 0); + udelay(1); +} +#endif |