diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2010-05-22 13:21:39 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2010-07-21 00:40:16 -0500 |
commit | af0250652a775799da656f74719bdefb45fda7d5 (patch) | |
tree | 337b48483a5983e2cfef667ae5063f6da1f165e0 /arch/powerpc/include/asm | |
parent | c26de2d8b15c15fdc0a33758fa7714667eec404c (diff) | |
download | u-boot-imx-af0250652a775799da656f74719bdefb45fda7d5.zip u-boot-imx-af0250652a775799da656f74719bdefb45fda7d5.tar.gz u-boot-imx-af0250652a775799da656f74719bdefb45fda7d5.tar.bz2 |
powerpc/85xx: Rework MPC8536 SERDES is_serdes_configured support
Move serdes init until after we are in ram so we can keep track of a
global static protocal map for the particular serdes config we are in.
This makes is_serdes_configured() much simplier and not constantly
reading registers to determine if a given device is enabled based on the
protocol.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r-- | arch/powerpc/include/asm/fsl_serdes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/fsl_serdes.h b/arch/powerpc/include/asm/fsl_serdes.h index d4839f4..c7877b9 100644 --- a/arch/powerpc/include/asm/fsl_serdes.h +++ b/arch/powerpc/include/asm/fsl_serdes.h @@ -44,5 +44,6 @@ enum srds_prtcl { }; int is_serdes_configured(enum srds_prtcl device); +void fsl_serdes_init(void); #endif /* __FSL_SERDES_H */ |