summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc85xx
diff options
context:
space:
mode:
authortang yuantian <Yuantian.Tang@freescale.com>2014-12-18 10:26:34 +0800
committerYork Sun <yorksun@freescale.com>2015-01-16 09:31:40 -0800
commit59d34ed022f8e0f0f34257b7b8a3d0edd24f8434 (patch)
tree3c94422fa0eb3ec4db9007210a3cd3c77666ebda /arch/powerpc/cpu/mpc85xx
parent7d0e97a2945c9da47ad4655f2e3de7e36b5cd7ac (diff)
downloadu-boot-imx-59d34ed022f8e0f0f34257b7b8a3d0edd24f8434.zip
u-boot-imx-59d34ed022f8e0f0f34257b7b8a3d0edd24f8434.tar.gz
u-boot-imx-59d34ed022f8e0f0f34257b7b8a3d0edd24f8434.tar.bz2
mpc85xx: clean up the old deep sleep framework
All the boards that support deep sleep feature are converted to deep sleep generic board interface. The old interface which support non-generic board is not used anymore. So clean it up. Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx')
-rw-r--r--arch/powerpc/cpu/mpc85xx/cpu_init.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init.c b/arch/powerpc/cpu/mpc85xx/cpu_init.c
index 85d32fc..4cf8853 100644
--- a/arch/powerpc/cpu/mpc85xx/cpu_init.c
+++ b/arch/powerpc/cpu/mpc85xx/cpu_init.c
@@ -424,7 +424,6 @@ void fsl_erratum_a007212_workaround(void)
ulong cpu_init_f(void)
{
- ulong flag = 0;
extern void m8560_cpm_reset (void);
#if defined(CONFIG_SYS_DCSRBAR_PHYS) || \
(defined(CONFIG_SECURE_BOOT) && defined(CONFIG_FSL_CORENET))
@@ -499,18 +498,11 @@ ulong cpu_init_f(void)
in_be32(&gur->dcsrcr);
#endif
-#ifdef CONFIG_SYS_DCSRBAR_PHYS
-#ifdef CONFIG_DEEP_SLEEP
- /* disable the console if boot from deep sleep */
- if (in_be32(&gur->scrtsr[0]) & (1 << 3))
- flag = GD_FLG_SILENT | GD_FLG_DISABLE_CONSOLE;
-#endif
-#endif
#ifdef CONFIG_SYS_FSL_ERRATUM_A007212
fsl_erratum_a007212_workaround();
#endif
- return flag;
+ return 0;
}
/* Implement a dummy function for those platforms w/o SERDES */