summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c
diff options
context:
space:
mode:
authorShengzhou Liu <Shengzhou.Liu@freescale.com>2011-08-31 17:48:18 +0800
committerKumar Gala <galak@kernel.crashing.org>2011-10-03 09:36:28 -0500
commit6d7b061af153bc5beb633c3bd15348284716a067 (patch)
treecc3c708eeade33efabb4f6003877f8eba8f5a751 /arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c
parent6b3a8d0086e469c58956041e4d534b2107f5beed (diff)
downloadtalos-obmc-uboot-6d7b061af153bc5beb633c3bd15348284716a067.tar.gz
talos-obmc-uboot-6d7b061af153bc5beb633c3bd15348284716a067.zip
powerpc/p3060: Add SoC related support for P3060 platform
Add P3060 SoC specific information:cores setup, LIODN setup, etc The P3060 SoC combines six e500mc Power Architecture processor cores with high-performance datapath acceleration architecture(DPAA), CoreNet fabric infrastructure, as well as network and peripheral interfaces. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c')
-rw-r--r--arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c b/arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c
index 4307a4ccbb..07e58ed024 100644
--- a/arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c
+++ b/arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c
@@ -482,6 +482,13 @@ static void wait_for_rstdone(unsigned int bank)
printf("SERDES: timeout resetting bank %u\n", bank + 1);
}
+
+void __soc_serdes_init(void)
+{
+ /* Allow for SoC-specific initialization in <SOC>_serdes.c */
+};
+void soc_serdes_init(void) __attribute__((weak, alias("__soc_serdes_init")));
+
void fsl_serdes_init(void)
{
ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);
@@ -570,6 +577,8 @@ void fsl_serdes_init(void)
}
}
+ soc_serdes_init();
+
#ifdef CONFIG_SYS_P4080_ERRATUM_SERDES8
/*
* Bank two uses the clock from bank three, so if bank two is enabled,
OpenPOWER on IntegriCloud