diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2010-12-15 04:52:48 -0600 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-01-14 01:32:18 -0600 |
commit | af04247426e4e7ee5d0561a1bd34855665e72b31 (patch) | |
tree | 3c321e668b8865eb17d6051c8634b7456c45059d /arch/powerpc/cpu/mpc86xx/cpu_init.c | |
parent | c5780a6fe9e3f0a0f33d356d5047537ed113143c (diff) | |
download | u-boot-af04247426e4e7ee5d0561a1bd34855665e72b31.tar.gz u-boot-af04247426e4e7ee5d0561a1bd34855665e72b31.tar.xz u-boot-af04247426e4e7ee5d0561a1bd34855665e72b31.zip |
powerpc/86xx: Add SERDES support on MPC8641 & MPC8610
Add the ability to determine if a given IP block connected on SERDES is
configured. This is useful for things like PCIe and SRIO since they are
only ever connected on SERDES. This mimics the code we have in place
for the 85xx platforms.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/cpu/mpc86xx/cpu_init.c')
-rw-r--r-- | arch/powerpc/cpu/mpc86xx/cpu_init.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc86xx/cpu_init.c b/arch/powerpc/cpu/mpc86xx/cpu_init.c index 82c216ba5d..1d35c0c655 100644 --- a/arch/powerpc/cpu/mpc86xx/cpu_init.c +++ b/arch/powerpc/cpu/mpc86xx/cpu_init.c @@ -1,5 +1,5 @@ /* - * Copyright 2004,2009 Freescale Semiconductor, Inc. + * Copyright 2004,2009-2010 Freescale Semiconductor, Inc. * Jeff Brown * Srikanth Srinivasan (srikanth.srinivasan@freescale.com) * @@ -31,6 +31,7 @@ #include <mpc86xx.h> #include <asm/mmu.h> #include <asm/fsl_law.h> +#include <asm/fsl_serdes.h> #include <asm/mp.h> void setup_bats(void); @@ -76,6 +77,9 @@ void cpu_init_f(void) */ int cpu_init_r(void) { + /* needs to be in ram since code uses global static vars */ + fsl_serdes_init(); + #if defined(CONFIG_MP) setup_mp(); #endif |