summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2010-05-22 13:21:39 -0500
committerKumar Gala <galak@kernel.crashing.org>2010-07-21 00:40:16 -0500
commitaf0250652a775799da656f74719bdefb45fda7d5 (patch)
tree337b48483a5983e2cfef667ae5063f6da1f165e0 /arch/powerpc/include
parentc26de2d8b15c15fdc0a33758fa7714667eec404c (diff)
downloadu-boot-af0250652a775799da656f74719bdefb45fda7d5.tar.gz
u-boot-af0250652a775799da656f74719bdefb45fda7d5.tar.xz
u-boot-af0250652a775799da656f74719bdefb45fda7d5.zip
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')
-rw-r--r--arch/powerpc/include/asm/fsl_serdes.h1
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 d4839f4673..c7877b91a1 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 */